/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #5c6963;
  --line: #dce5df;
  --paper: #fbfcf7;
  --panel: #ffffff;
  --mint: #dff4e8;
  --green: #176e55;
  --coral: #e85d4f;
  --yellow: #f6c85f;
  --blue: #2364aa;
  --shadow: 0 18px 45px rgba(23, 33, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--paper);
  color: var(--ink);
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.topbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 252, 247, 0.92);
  border-bottom: 1px solid rgba(220, 229, 223, 0.85);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-size: 0.9rem;
}

.nav-links {
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.96rem;
}

.nav-links a {
  padding: 6px 10px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(255, 107, 80, 0.12);
}

.nav-action,
.search-row button {
  border: 0;
  border-radius: 8px;
  background: var(--coral);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.nav-action {
  padding: 12px 16px;
  white-space: nowrap;
}

/* ─── Logged-in user chip in topbar ─── */
.nav-user-chip {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* invisible bridge so cursor doesn't lose hover between avatar and logout */
.nav-user-chip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 28px;
}

.nav-user-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  border-radius: 24px;
  background: var(--panel, #f0f4f0);
  transition: background 0.2s;
}

.nav-user-link:hover {
  background: var(--line, #dce5dd);
}

.nav-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--coral);
}

.nav-username {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-logout-btn {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 1;
  border: 0;
  background: white;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, background 0.2s;
}

.nav-user-chip:hover .nav-logout-btn {
  opacity: 1;
  pointer-events: auto;
}

.nav-logout-btn:hover {
  background: rgba(255, 107, 80, 0.1);
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 19, 17, 0.82), rgba(10, 19, 17, 0.38)),
    linear-gradient(0deg, rgba(10, 19, 17, 0.54), rgba(10, 19, 17, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
  padding: clamp(48px, 8vw, 96px) clamp(18px, 6vw, 72px);
  color: white;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.search-panel {
  width: min(680px, 100%);
  margin-top: 34px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.search-panel label {
  display: block;
  margin: 0 0 8px 4px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-gap: 10px;
  gap: 10px;
}

.search-row input {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px 16px;
  color: var(--ink);
}

.search-row button {
  padding: 0 24px;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 64px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1px;
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.intro-strip div {
  min-height: 128px;
  padding: 28px;
  background: var(--panel);
}

.intro-strip strong,
.intro-strip span {
  display: block;
}

.intro-strip strong {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.intro-strip span {
  color: var(--muted);
  line-height: 1.5;
}

.feed-post-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.feed-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 24px;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.post-card,
.score-panel,
.calculator,
.builder,
.university-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 26px rgba(23, 33, 31, 0.06);
}

.post-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  height: 300px;
  min-height: 300px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease;
}

.post-card:hover {
  box-shadow: 0 24px 52px rgba(23, 33, 31, 0.18);
}

.post-card img {
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.feature-post {
  grid-template-columns: 1fr 1fr;
}

.post-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.post-body h3 {
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-body p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-meta,
.post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
}

.post-meta span {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-meta span:last-child {
  font-weight: 600;
  background: var(--mint);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--green);
}

.budget-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.budget-tags span {
  background: var(--mint);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
}

.post-actions {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  gap: 12px;
}

.post-actions button {
  background: none;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 12px;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--ink);
  transition: all 0.2s;
}

.post-actions button:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.post-actions button[data-vote] span {
  font-weight: 700;
  color: var(--ink);
}

.post-actions button.is-active {
  border-color: var(--coral);
  background: #fff0ee;
  color: var(--coral);
}

.ranking-layout,
.tool-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
  grid-gap: 22px;
  gap: 22px;
  align-items: start;
}

.ranking-list {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.ranking-list article {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-gap: 18px;
  gap: 18px;
  align-items: center;
  min-height: 124px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.rank-number {
  color: var(--coral);
  font-size: 1.4rem;
  font-weight: 900;
}

.ranking-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.rank-value {
  color: var(--ink);
  white-space: nowrap;
  text-align: right;
}

.rank-pick {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}

.rank-pick img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.rank-pick p {
  color: var(--ink);
}

.rank-pick-meta {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 4px;
}

.ranking-list article.has-pick {
  min-height: auto;
  align-items: flex-start;
}

.score-note {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 12px;
}

.score-panel {
  padding: 24px;
}

.score-total {
  margin: 18px 0 4px;
  color: var(--green);
  font-size: 5rem;
  font-weight: 950;
  line-height: 0.9;
}

.score-panel p {
  color: var(--muted);
}

.score-list {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  margin: 24px 0 0;
}

.score-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.score-list dt {
  color: var(--muted);
}

.score-list dd {
  margin: 0;
  font-weight: 900;
}

.tools-section {
  background: #eef7f1;
}

.calculator,
.builder {
  padding: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 14px;
  gap: 14px;
}

.form-grid label {
  display: grid;
  grid-gap: 7px;
  gap: 7px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.form-grid input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
}

.budget-result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 8px 18px;
  gap: 8px 18px;
  margin-top: 22px;
  padding: 18px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
}

.budget-result span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}

.budget-result strong {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.prompt-box {
  padding: 16px;
  border-radius: 8px;
  background: #fff6e2;
}

.prompt-box span {
  color: #8b5a00;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.prompt-box p {
  margin: 8px 0 0;
  line-height: 1.55;
}

.itinerary-list {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 22px;
}

.itinerary-list li {
  color: var(--muted);
  line-height: 1.5;
}

.itinerary-list strong {
  color: var(--ink);
}

.map-product {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.map-toolbar,
.map-filter-row,
.map-layout,
.map-feature-grid {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

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

.map-search label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.map-search input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}

.map-layers,
.map-filter-row,
.popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.map-layers button,
.map-filter-row button,
.popup-actions button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.map-layers button,
.map-filter-row button {
  padding: 0 12px;
}

.map-layers button.is-active,
.map-filter-row button.is-active {
  border-color: var(--green);
  background: var(--mint);
  color: var(--green);
}

.map-layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: stretch;
}

.map-shell {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(23, 110, 85, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(23, 110, 85, 0.08) 1px, transparent 1px),
    #e8f1eb;
  background-size: 48px 48px;
  box-shadow: var(--shadow);
}

.map-base {
  position: absolute;
  inset: 0;
}

.map-road,
.heat-zone {
  position: absolute;
  pointer-events: none;
}

.map-road {
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 20px rgba(23, 33, 31, 0.08);
}

.road-one {
  left: -6%;
  top: 23%;
  width: 66%;
  transform: rotate(-14deg);
}

.road-two {
  right: -10%;
  top: 44%;
  width: 80%;
  transform: rotate(18deg);
}

.road-three {
  left: 16%;
  bottom: 20%;
  width: 72%;
  transform: rotate(-5deg);
}

.heat-zone {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 93, 79, 0.32), rgba(232, 93, 79, 0));
  animation: heatPulse 4s ease-in-out infinite;
}

.heat-tokyo {
  right: 16%;
  top: 8%;
}

.heat-seoul {
  left: 10%;
  top: 18%;
}

.heat-bali {
  left: 38%;
  bottom: 10%;
}

.map-shell[data-layer="following"] .map-pin:not([data-layer="following"]):not([data-layer="mine"]),
.map-shell[data-layer="mine"] .map-pin:not([data-layer="mine"]),
.map-shell[data-layer="trending"] .map-pin:not([data-layer="trending"]) {
  opacity: 0.18;
  transform: scale(0.94);
}

.map-shell[data-layer="public"] .map-pin {
  opacity: 1;
}

.map-pin {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50% 50% 50% 0;
  padding: 0;
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
  transform: rotate(-45deg);
  box-shadow: 0 12px 28px rgba(23, 33, 31, 0.22);
  cursor: pointer;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.map-pin span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  transform: rotate(45deg);
}

.pin-one {
  left: 14%;
  top: 22%;
}

.pin-two {
  right: 18%;
  top: 18%;
}

.pin-three {
  left: 32%;
  bottom: 23%;
}

.pin-four {
  right: 11%;
  bottom: 18%;
}

.pin-five {
  right: 34%;
  bottom: 34%;
}

.pin-six {
  left: 52%;
  top: 40%;
}

.pin-food {
  background: #e85d4f;
}

.pin-stay {
  background: #2364aa;
}

.pin-scam {
  background: #c53434;
}

.pin-view {
  background: #176e55;
}

.pin-nightlife {
  background: #5d4bb7;
}

.pin-budget {
  background: #d18700;
}

.pin-mine {
  outline: 4px solid rgba(35, 100, 170, 0.22);
}

.pin-following {
  outline: 4px solid rgba(23, 110, 85, 0.2);
}

.pin-trending {
  outline: 4px solid rgba(232, 93, 79, 0.22);
}

.pin-public {
  outline: 4px solid rgba(23, 33, 31, 0.14);
}

.pin-popup {
  position: absolute;
  left: 22px;
  bottom: 22px;
  width: min(360px, calc(100% - 44px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.popup-category {
  display: inline-block;
  margin-bottom: 8px;
  border-radius: 8px;
  padding: 6px 8px;
  background: var(--mint);
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.pin-popup h3 {
  margin-bottom: 4px;
}

.popup-location,
.popup-copy {
  color: var(--muted);
  line-height: 1.48;
}

.popup-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.popup-stats span {
  border-radius: 8px;
  padding: 7px 9px;
  background: #f5f9ff;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 850;
}

.popup-actions button {
  padding: 0 10px;
  font-size: 0.82rem;
}

.pin-popup a {
  display: inline-block;
  margin-top: 12px;
  color: var(--coral);
  font-weight: 900;
}

.add-spot-button {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  border-radius: 8px;
  padding: 14px 16px;
  background: linear-gradient(90deg, var(--coral), #f49b45);
  color: white;
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(232, 93, 79, 0.28);
}

.map-side-panel,
.map-feature-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 26px rgba(23, 33, 31, 0.06);
}

.map-side-panel {
  display: grid;
  align-content: start;
  grid-gap: 1px;
  gap: 1px;
  overflow: hidden;
}

.map-side-panel section {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.map-side-panel section:last-child {
  border-bottom: 0;
}

.map-side-panel p,
.map-feature-grid p {
  color: var(--muted);
  line-height: 1.5;
}

.map-legend {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.map-legend div {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-weight: 850;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.legend-dot.mine {
  background: var(--blue);
}

.legend-dot.following {
  background: var(--green);
}

.legend-dot.trending {
  background: var(--coral);
}

.legend-dot.public {
  background: var(--ink);
}

.live-activity p {
  margin-bottom: 8px;
  border-radius: 8px;
  padding: 10px;
  background: #f7faf8;
}

.saved-trip-card {
  display: grid;
  grid-gap: 3px;
  gap: 3px;
  border-radius: 8px;
  padding: 14px;
  background: #fff6e2;
}

.saved-trip-card span {
  color: #8b5a00;
  font-weight: 850;
}

.map-feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.map-feature-grid article {
  padding: 20px;
}

.university-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 18px;
  gap: 18px;
}

.university-card {
  display: grid;
  min-height: 230px;
  padding: 24px;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.university-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(23, 33, 31, 0.12);
}

.university-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.university-grid span {
  color: var(--blue);
  font-weight: 900;
}

.university-card strong {
  align-self: end;
  width: max-content;
  margin-top: 20px;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--coral);
  color: var(--ink);
}

.campus-detail {
  scroll-margin-top: 86px;
  padding: clamp(56px, 8vw, 92px) clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: white;
}

.campus-detail:nth-of-type(odd) {
  background: #f6fbf8;
}

.campus-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.campus-hero div {
  max-width: 760px;
}

.campus-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.campus-hero a {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 14px;
  background: white;
  color: var(--green);
  font-weight: 900;
}

.campus-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  grid-gap: 18px;
  gap: 18px;
}

.campus-main,
.campus-side {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 24px;
}

.trip-board {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.trip-board span {
  color: var(--ink);
  font-weight: 850;
}

.trip-board strong {
  flex: 0 0 auto;
  color: var(--blue);
}

.campus-side ul {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.5;
}

.school-boards {
  background: #eef7f1;
}

.board-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr) minmax(260px, 0.65fr);
  grid-gap: 18px;
  gap: 18px;
  align-items: stretch;
}

.board-process,
.board-card-preview,
.board-leaderboard,
.board-system-row article,
.school-board-hub,
.active-board-card,
.create-board-card,
.school-rank-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 26px rgba(23, 33, 31, 0.06);
}

.board-process,
.board-leaderboard,
.board-system-row article {
  padding: 24px;
}

.board-process ol,
.school-rank-card ol {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  margin: 18px 0 0;
  padding-left: 22px;
}

.board-process li,
.school-rank-card li {
  color: var(--muted);
  line-height: 1.45;
}

.board-process strong,
.board-process span,
.school-rank-card strong,
.school-rank-card span {
  display: block;
}

.board-process strong,
.school-rank-card strong {
  color: var(--ink);
}

.board-card-preview {
  overflow: hidden;
}

.board-banner {
  min-height: 130px;
  background:
    linear-gradient(135deg, rgba(23, 110, 85, 0.78), rgba(232, 93, 79, 0.72)),
    url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1000&q=80");
  background-position: center;
  background-size: cover;
}

.board-preview-body {
  padding: 22px;
}

.board-status {
  display: inline-block;
  margin-bottom: 12px;
  border-radius: 8px;
  padding: 7px 9px;
  background: var(--mint);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.board-card-preview p,
.board-system-row p,
.board-leaderboard p {
  color: var(--muted);
  line-height: 1.55;
}

.board-preview-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.board-preview-stats span {
  border-radius: 8px;
  padding: 8px 10px;
  background: #f5f9ff;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 850;
}

.board-card-preview a {
  display: inline-block;
  border-radius: 8px;
  padding: 11px 14px;
  background: var(--ink);
  color: white;
  font-weight: 900;
}

.board-leaderboard {
  display: grid;
  align-content: start;
  grid-gap: 12px;
  gap: 12px;
}

.board-leaderboard div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.board-leaderboard span {
  color: var(--blue);
  font-weight: 850;
}

.board-system-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 18px;
  gap: 18px;
  margin-top: 18px;
}

.board-link-list {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.board-link-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #f7faf8;
}

.board-link-list span {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 850;
}

.sidebar-all-boards {
  display: block;
  margin-top: 10px;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
}

.sidebar-all-boards:hover {
  text-decoration: underline;
}

/* ─── School boards hub (in /app feed) ─── */
.app-board-hub {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  margin-bottom: 16px;
}

.app-board-hub-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.app-board-hub-head h2 {
  margin: 0;
  font-size: 1.15rem;
}

.app-board-hub-all {
  color: var(--green);
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
}

.app-board-hub-all:hover {
  text-decoration: underline;
}

.app-board-hub-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.app-board-hub-item {
  display: grid;
  grid-gap: 2px;
  gap: 2px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.app-board-hub-item:hover {
  border-color: var(--green);
  box-shadow: 0 6px 16px rgba(23, 33, 31, 0.08);
}

.app-board-hub-item strong {
  font-size: 0.9rem;
  color: var(--ink);
}

.app-board-hub-item span {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: capitalize;
}

.app-board-hub-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.app-board-hub-create {
  justify-self: start;
  background: var(--green);
  color: white;
  border: 0;
  border-radius: 8px;
  padding: 9px 16px;
  font-weight: 800;
  cursor: pointer;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: white;
}

.footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer a {
  font-weight: 800;
}

.login-page {
  min-height: 100svh;
  overflow-x: hidden;
  background: #f7fbf9;
}

.login-shell {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
}

.login-inspiration {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: clamp(24px, 4vw, 46px);
  color: white;
}

.login-slides,
.login-shade {
  position: absolute;
  inset: 0;
}

.login-slides img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: travelFade 24s infinite;
}

.login-slides img:nth-child(2) {
  animation-delay: 6s;
}

.login-slides img:nth-child(3) {
  animation-delay: 12s;
}

.login-slides img:nth-child(4) {
  animation-delay: 18s;
}

.login-shade {
  background:
    linear-gradient(120deg, rgba(11, 24, 31, 0.86), rgba(11, 24, 31, 0.22)),
    linear-gradient(0deg, rgba(11, 24, 31, 0.58), rgba(11, 24, 31, 0.06));
}

.login-brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.plane-float {
  position: absolute;
  z-index: 2;
  top: 18%;
  right: 12%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  animation: floatPlane 5s ease-in-out infinite;
}

.inspiration-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin-top: clamp(160px, 28vh, 260px);
}

.inspiration-copy .eyebrow {
  color: var(--yellow);
}

.inspiration-copy h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 6.4rem);
}

.inspiration-copy p:not(.eyebrow) {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.87);
  font-size: 1.16rem;
  line-height: 1.6;
}

.live-highlights {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 12px;
  gap: 12px;
  margin-top: 42px;
}

.live-highlights article {
  min-height: 104px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}

.live-highlights span,
.mini-trip span {
  display: block;
  margin-bottom: 8px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.live-highlights strong {
  line-height: 1.32;
}

.login-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-height: 100svh;
  padding: clamp(24px, 5vw, 56px);
}

.login-card {
  width: min(100%, 520px);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(220, 229, 223, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.login-heading h2 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.login-heading p:not(.eyebrow) {
  color: var(--muted);
}

.social-login,
.manual-login,
.unlock-grid {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.social-login {
  margin-top: 24px;
}

.social-login button,
.social-login a,
.manual-login button {
  min-height: 50px;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.social-login button,
.social-login a {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  text-decoration: none;
}

.social-login button:hover,
.social-login a:hover {
  border-color: var(--green);
  background: #f4fbf7;
}

.school-email-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.school-email-row span {
  padding: 7px 9px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 850;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  flex: 1 1;
  background: var(--line);
}

.manual-login label {
  display: grid;
  grid-gap: 7px;
  gap: 7px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.manual-login input {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
}

.manual-login button {
  margin-top: 6px;
  border: 0;
  background: linear-gradient(90deg, var(--coral), #f49b45);
  color: white;
  transition: opacity 0.2s, transform 0.15s;
}

.manual-login button:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.manual-login button:disabled {
  opacity: 0.6;
  transform: none;
  cursor: not-allowed;
}

.auth-separator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  color: #999;
  font-size: 0.85rem;
}

.auth-separator::before,
.auth-separator::after {
  content: "";
  flex: 1 1;
  height: 1px;
  background: #ddd;
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  margin-top: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #ffffff;
  color: #3c4043;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
}

.google-btn:hover {
  background: #f8f9fa;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.google-btn:active {
  background: #eee;
}

.auth-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.link-btn {
  background: var(--panel, #f0f4f0);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 16px;
  transition: background 0.15s, border-color 0.15s;
}

.link-btn:hover {
  background: var(--line, #dce5dd);
  border-color: var(--muted);
  text-decoration: none;
}

.auth-message {
  margin: 14px 0 6px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

.auth-error {
  background: #fff0f0;
  color: #cc0000;
  border: 1px solid #fcd0d0;
}

.auth-success {
  background: #f0faf6;
  color: var(--green, #00AF93);
  border: 1px solid #d0f0e6;
}

.unlock-box {
  margin-top: 24px;
  padding: 18px;
  border-radius: 8px;
  background: #f5f9ff;
}

.unlock-box h3 {
  font-size: 1rem;
}

.unlock-grid {
  grid-template-columns: repeat(2, 1fr);
}

.unlock-grid span {
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 850;
}

.login-trips {
  width: min(100%, 520px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
  gap: 10px;
  margin: 0 auto;
}

.mini-trip {
  min-height: 112px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.mini-trip:hover {
  transform: translateY(-3px);
  border-color: var(--coral);
}

.mini-trip span {
  color: var(--coral);
}

.mini-trip strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.35;
}

.login-footer {
  width: min(100%, 520px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.member-page {
  background: #f5f8f6;
}

.member-topbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  grid-gap: 18px;
  gap: 18px;
  min-height: 74px;
  padding: 14px clamp(16px, 4vw, 42px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.93);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
}

.member-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 32px);
  color: var(--muted);
  font-weight: 800;
}

.member-nav a:hover {
  color: var(--ink);
}

.share-button,
.feed-composer button,
.publish-row button {
  border: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--coral), #f49b45);
  color: white;
  font-weight: 950;
  cursor: pointer;
}

.share-button {
  min-height: 46px;
  padding: 0 18px;
}

.member-shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.6fr) minmax(220px, 0.7fr);
  grid-gap: 18px;
  gap: 18px;
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: 24px clamp(14px, 3vw, 32px) 56px;
}

.member-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 96px;
  display: grid;
  align-self: start;
  grid-gap: 14px;
  gap: 14px;
  max-height: calc(100vh - 128px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.profile-chip,
.sidebar-panel,
.feed-composer,
.trend-strip article,
.social-post {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 26px rgba(23, 33, 31, 0.05);
}

.profile-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.profile-chip img,
.post-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-chip h2 {
  margin: 0 0 2px;
  font-size: 1.02rem;
}

.profile-chip p,
.side-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.sidebar-panel {
  padding: 18px;
}

.sidebar-panel h3 {
  font-size: 1rem;
}

.mini-stats {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  margin: 0 0 16px;
}

.mini-stats div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}

.mini-stats dt {
  color: var(--muted);
}

.mini-stats dd {
  margin: 0;
  font-weight: 950;
}

.badge-row,
.tag-cloud,
.budget-line,
.suggested-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge-row span,
.tag-cloud a,
.budget-line span,
.suggested-tags button {
  border-radius: 8px;
  padding: 7px 9px;
  background: var(--mint);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 850;
}

.member-feed {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.feed-composer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
}

.feed-composer button {
  min-height: 48px;
  flex: 0 0 auto;
  padding: 0 18px;
}

.feed-composer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.trend-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 10px;
  gap: 10px;
}

.trend-strip article {
  min-height: 104px;
  padding: 14px;
}

.trend-strip span {
  display: block;
  margin-bottom: 8px;
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.trend-strip strong {
  line-height: 1.3;
}

/* Trending strip quick filters (Module 3) */
.trending-strip {
  padding: 2px 2px 0;
}

.trending-strip .eyebrow {
  margin-bottom: 10px;
}

.trend-strip button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 92px;
  padding: 14px;
  text-align: left;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, transform 0.15s;
}

.trend-strip button:hover {
  border-color: var(--green);
  transform: translateY(-1px);
}

.trend-strip button.is-active {
  border-color: var(--green);
  background: var(--mint);
  box-shadow: 0 3px 12px rgba(0, 175, 147, 0.16);
}

.trend-strip button span {
  margin-bottom: 0;
}

.trend-strip button strong {
  font-size: 0.92rem;
}

/* Feed sort row (Module 3) */
.feed-sort-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 4px 2px;
}

.feed-sort-row .sort-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  margin-right: 2px;
}

.feed-sort-row button {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #e2e2e2;
  background: #fff;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.feed-sort-row button:hover {
  border-color: var(--green);
  color: var(--green);
}

.feed-sort-row button.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* Feed loading / error status (Module 3 + 15) */
.feed-status {
  padding: 18px;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.feed-status .retry-btn {
  margin-left: 8px;
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid #e2e2e2;
  background: #fff;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.feed-status .retry-btn:hover {
  background: var(--mint);
}

.social-post {
  overflow: hidden;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
}

.post-author strong,
.post-author span {
  display: block;
}

.post-author span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.88rem;
}

.social-photo {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.social-body {
  padding: 20px;
}

.post-type {
  width: max-content;
  margin-bottom: 12px;
  border-radius: 8px;
  padding: 7px 10px;
  background: #fff2e9;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.post-type.warning {
  background: #fff6d8;
  color: #8b5a00;
}

.social-body h2 {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.social-body p {
  color: var(--muted);
  line-height: 1.58;
}

.budget-line {
  margin: 16px 0;
}

.budget-line span {
  background: #f5f9ff;
  color: var(--blue);
}

.social-actions {
  margin-top: 18px;
}

.social-actions button.is-saved {
  border-color: var(--green);
  background: var(--mint);
  color: var(--green);
}

.comment-preview {
  margin-top: 18px;
  padding: 14px;
  border-radius: 8px;
  background: #f7faf8;
}

.comment-preview p {
  margin: 6px 0 0;
}

.collection-list {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.collection-list a {
  padding: 12px;
  border-radius: 8px;
  background: #f7faf8;
  color: var(--ink);
  font-weight: 850;
}

.school-board-hub {
  padding: 20px;
}

.board-hub-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.board-hub-head p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.board-hub-head button,
.create-board-card button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  background: var(--ink);
  color: white;
  font-weight: 900;
  cursor: pointer;
}

.board-hub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.8fr) minmax(220px, 0.7fr);
  grid-gap: 14px;
  gap: 14px;
}

.active-board-card,
.create-board-card,
.school-rank-card {
  padding: 18px;
}

.active-board-card p,
.create-board-card p {
  color: var(--muted);
  line-height: 1.5;
}

.create-board-card {
  background: #fff8e8;
}

.school-rank-card ol {
  padding-left: 18px;
}

.composer-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding: clamp(16px, 4vw, 42px);
  background: rgba(8, 18, 16, 0.64);
}

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

/* ─── Email verification popup ─── */
.verify-popup {
  width: min(420px, 100%);
  margin: 0 auto;
  margin-top: 15vh;
  border-radius: 14px;
  background: white;
  box-shadow: 0 30px 80px rgba(8, 18, 16, 0.36);
  padding: 28px;
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  text-align: center;
}

.verify-popup h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--ink);
}

.verify-popup p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.verify-popup-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 6px;
}

.verify-popup-actions button {
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  font-size: 0.9rem;
}

.verify-popup-resend {
  border: 1px solid var(--green);
  background: white;
  color: var(--green);
}

.verify-popup-ok {
  border: 0;
  background: var(--green);
  color: white;
}

.verify-popup-msg {
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 700;
}

.composer-panel {
  width: min(680px, 100%);
  margin: 0 auto;
  border-radius: 12px;
  background: white;
  box-shadow: 0 30px 80px rgba(8, 18, 16, 0.36);
  overflow-x: hidden;
  min-width: 0;
}

.composer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.composer-head h2 {
  margin-bottom: 0;
}

.close-composer {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 10px 12px;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.composer-form {
  display: grid;
  grid-gap: 0;
  gap: 0;
  overflow-x: hidden;
  min-width: 0;
}

.composer-form fieldset {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  margin: 0;
  padding: 22px 24px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.composer-form legend {
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 950;
}

.type-grid,
.board-select-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 10px;
  gap: 10px;
}

.type-grid label,
.board-select-grid label {
  height: 72px;
  display: grid;
  grid-template-columns: auto 28px 1fr;
  grid-template-rows: auto;
  align-items: center;
  align-content: center;
  grid-gap: 0 8px;
  gap: 0 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  font-weight: normal;
}

.type-grid label:hover {
  border-color: var(--muted);
}

.type-grid label:has(input:checked),
.board-select-grid label:has(input:checked) {
  border-color: var(--green);
  background: var(--mint);
}

.type-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  line-height: 1;
  text-align: center;
}

.type-grid label div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.type-grid label div strong {
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 850;
  line-height: 1.25;
}

.type-grid label div small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.35;
}

.type-grid label input[type="radio"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--green);
  margin: 0;
}

.fieldset-help {
  margin: -4px 0 10px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ─── Visibility (public / community) ─── */
.visibility-fieldset {
  border-bottom: 1px solid var(--line);
  padding: 22px 24px;
}

.visibility-fieldset legend.label-text {
  margin-bottom: 10px;
  font-weight: 850;
  font-size: 0.85rem;
  color: var(--ink);
}

.visibility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 10px;
  gap: 10px;
}

.visibility-grid label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  font-weight: normal;
}

.visibility-grid label:hover {
  border-color: var(--muted);
}

.visibility-grid label.is-selected {
  border-color: var(--green);
  background: var(--mint);
}

.visibility-grid label input[type="radio"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--green);
  margin: 2px 0 0;
}

.visibility-grid label div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.visibility-grid label div strong {
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 850;
  line-height: 1.25;
}

.visibility-grid label div small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.35;
}

/* ─── Member banners (verification / profile prompt) ─── */
.member-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  line-height: 1.45;
}

.member-banner strong {
  display: block;
  font-weight: 850;
}

.member-banner span {
  color: var(--muted);
  font-size: 0.8rem;
}

.banner-warning {
  background: #fff4e5;
  border: 1px solid #ffd9a8;
  color: #7a4a00;
}

.banner-warning strong {
  color: #7a4a00;
}

.banner-info {
  background: #e7f6f2;
  border: 1px solid #bce8dc;
  color: #0d6b57;
}

.banner-info strong {
  color: #0d6b57;
}

.banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.banner-actions button {
  background: #ff9a3c;
  border: 0;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
}

.banner-actions button:disabled {
  opacity: 0.6;
  cursor: default;
}

.banner-actions small {
  color: var(--muted);
  max-width: 220px;
}

.banner-link {
  flex-shrink: 0;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
}

/* ─── Budget fields section ─── */
.budget-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 16px;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  align-items: end;
}

.budget-fields label {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  font-weight: 850;
  color: var(--muted);
  min-width: 0;
}

.budget-fields .label-text {
  font-size: 0.82rem;
  line-height: 1.3;
}

.budget-fields input {
  width: 100%;
  height: 47px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
}

/* ─── Form sections wrapper ─── */
.form-section {
  display: grid;
  grid-gap: 0;
  gap: 0;
}

.form-section > label {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}

.form-section > label:first-of-type {
  padding-top: 24px;
}

.composer-form label {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  color: var(--muted);
  font-weight: 850;
}

.label-text {
  color: var(--ink);
  font-weight: 850;
  font-size: 0.92rem;
}

.input-hint {
  margin-top: -2px;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.78rem;
}

/* ─── File upload zone ─── */
.file-upload-label {
  cursor: pointer;
  position: relative;
}

.file-upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 120px;
  border: 2px dashed var(--line);
  border-radius: 10px;
  background: var(--panel, #f5f8f5);
  padding: 20px;
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
}

.file-upload-zone:hover {
  border-color: var(--green);
  background: var(--mint, #e8f8f5);
}

.upload-icon {
  font-size: 2rem;
}

.file-upload-zone strong {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 850;
}

.file-upload-zone small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.file-input-hidden {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  overflow: hidden;
  cursor: pointer;
}

/* ─── File preview list ─── */
.file-preview-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  grid-gap: 10px;
  gap: 10px;
  padding: 12px 0 0;
}

.file-preview-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: var(--panel, #f5f8f5);
  border-radius: 8px;
  border: 1px solid var(--line);
}

.file-preview-item img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.file-preview-item span {
  font-size: 0.75rem;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.file-remove-btn {
  margin-left: auto;
  flex-shrink: 0;
  border: 0;
  background: none;
  color: var(--coral);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1;
  transition: background 0.15s;
}

.file-remove-btn:hover {
  background: rgba(255, 107, 80, 0.1);
}

.composer-form input,
.composer-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
}

.composer-form textarea {
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-gap: 20px;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}

.form-row label {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  align-items: start;
  font-weight: 850;
  color: var(--muted);
  min-width: 0;
  width: 100%;
  overflow: hidden;
}

.form-row .label-text {
  font-size: 0.92rem;
  color: var(--ink);
  white-space: nowrap;
}

.form-row input {
  width: 100%;
  min-width: 0;
  height: 47px;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
}

.suggested-tags button {
  border: 0;
  cursor: pointer;
}

.pin-preview {
  min-height: 140px;
  display: grid;
  place-items: center;
  grid-gap: 8px;
  gap: 8px;
  border: 1px dashed #9fb8ae;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(23, 110, 85, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(23, 110, 85, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--green);
}

.pin-preview span {
  width: 18px;
  height: 18px;
  border-radius: 50% 50% 50% 0;
  background: var(--coral);
  transform: rotate(-45deg);
}

.publish-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-top: 1px solid var(--line);
}

.publish-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.submit-message.success {
  color: var(--green);
  font-weight: 700;
}

.submit-message.error {
  color: var(--coral);
  font-weight: 700;
}

.publish-row button {
  min-height: 50px;
  flex: 0 0 auto;
  padding: 0 18px;
}

.moderator-page {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100svh;
  background: #f3f6f4;
}

.mod-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100svh;
  overflow-y: auto;
  border-right: 1px solid var(--line);
  background: #111d1a;
  color: white;
  padding: 18px;
}

.mod-brand {
  margin-bottom: 22px;
}

.mod-sidebar nav {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}

.mod-sidebar nav a {
  border-radius: 8px;
  padding: 11px 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.93rem;
  font-weight: 850;
}

.mod-sidebar nav a:hover,
.mod-sidebar nav a.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.mod-main {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
  padding: clamp(18px, 3vw, 34px);
}

.mod-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 24px;
}

.mod-topbar h1 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 0.98;
}

.mod-top-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.mod-top-actions input {
  min-height: 44px;
  min-width: min(360px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}

.mod-top-actions button,
.quick-actions button,
.queue-actions button,
.report-board button {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-weight: 900;
  cursor: pointer;
}

.mod-top-actions button,
.quick-actions button,
.report-board button {
  padding: 0 13px;
}

.mod-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 22px;
  box-shadow: 0 10px 26px rgba(23, 33, 31, 0.05);
}

.mod-section-head {
  margin-bottom: 18px;
}

.mod-section h2 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.mod-section p,
.mod-section-head p {
  color: var(--muted);
  line-height: 1.5;
}

.mod-metric-grid,
.mod-grid-two,
.mod-grid-three,
.role-grid {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.mod-metric-grid {
  grid-template-columns: repeat(4, 1fr);
}

.mod-metric-grid article {
  min-height: 116px;
  display: grid;
  align-content: space-between;
  border-radius: 8px;
  padding: 16px;
  background: #f7faf8;
}

.mod-metric-grid span {
  color: var(--muted);
  font-weight: 850;
}

.mod-metric-grid strong {
  font-size: 1.65rem;
  line-height: 1.05;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.quick-actions.compact {
  margin-top: 12px;
}

.quick-actions.compact button,
.queue-actions button {
  min-height: 34px;
  padding: 0 10px;
  font-size: 0.82rem;
}

.mod-grid-two {
  grid-template-columns: 1fr 1fr;
}

.mod-grid-three {
  grid-template-columns: repeat(3, 1fr);
}

.queue-list,
.feature-stack,
.notification-list,
.audit-list {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.queue-list article {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-gap: 12px;
  gap: 12px;
  align-items: center;
  border-radius: 8px;
  padding: 14px;
  background: #f7faf8;
}

.queue-list strong,
.queue-list span {
  display: block;
}

.queue-list span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.queue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pin-review-card,
.user-admin-card,
.heatmap-mini {
  border-radius: 8px;
  padding: 16px;
  background: #f7faf8;
}

.heatmap-mini {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  margin-top: 12px;
  background:
    linear-gradient(90deg, rgba(23, 110, 85, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(23, 110, 85, 0.08) 1px, transparent 1px),
    #e8f1eb;
  background-size: 28px 28px;
}

.heatmap-mini p {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  margin: 0;
  font-weight: 850;
}

.heat-dot {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 93, 79, 0.45), rgba(232, 93, 79, 0));
}

.heat-dot.one {
  left: 10%;
  top: 10%;
}

.heat-dot.two {
  right: 12%;
  top: 20%;
}

.heat-dot.three {
  left: 42%;
  bottom: 6%;
}

.admin-table {
  display: grid;
  grid-gap: 1px;
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
}

.admin-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
  grid-gap: 1px;
  gap: 1px;
}

.admin-row span {
  min-height: 46px;
  display: grid;
  align-items: center;
  padding: 10px;
  background: white;
  font-weight: 850;
}

.admin-row.header span {
  background: var(--ink);
  color: white;
}

/* Module 13 UX: toolbar + scrollable admin tables */
.mod-section-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.mod-filter-input {
  min-height: 40px;
  flex: 1 1;
  max-width: 300px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.9rem;
  background: white;
}

.mod-filter-input:focus {
  outline: none;
  border-color: #00af93;
  box-shadow: 0 0 0 3px rgba(0, 175, 147, 0.15);
}

.mod-count {
  color: #6b7a75;
  font-size: 0.85rem;
  font-weight: 800;
  white-space: nowrap;
}

.mod-table-scroll {
  max-height: 380px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line);
}

/* Row separator: 1px background line between rows */
.mod-table-scroll .admin-row {
  margin-bottom: 1px;
}

/* Sticky header: block-level child of the scroll container (columns stay aligned) */
.mod-table-scroll .admin-row.header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 2;
}

@media (max-width: 620px) {
  .mod-table-scroll .admin-row.header {
    position: static;
  }
}

.mod-scroll-list {
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
}

/* Custom action modal (warn / suspend) — replaces browser prompt */
.mod-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 21, 0.55);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  animation: mod-fade 0.15s ease-out;
}

@keyframes mod-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.mod-modal {
  width: min(440px, 100%);
  background: #fff;
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 24px 60px rgba(15, 23, 21, 0.35);
  animation: mod-pop 0.18s ease-out;
  border-top: 4px solid #d97706;
}

.mod-modal-suspend {
  border-top-color: #b3392e;
}

@keyframes mod-pop {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.mod-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.mod-modal-head h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--ink);
}

.mod-modal-x {
  border: 0;
  background: #eef2f0;
  color: #55635e;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  flex: none;
}

.mod-modal-x:hover {
  background: #e2e8e5;
  color: #1f2a27;
}

.mod-modal-body {
  color: #55635e;
  line-height: 1.55;
  margin: 12px 0 16px;
  font-size: 0.92rem;
}

.mod-modal-field {
  display: block;
}

.mod-modal-field span {
  display: block;
  font-weight: 800;
  font-size: 0.8rem;
  color: #3c4a45;
  margin-bottom: 6px;
}

.mod-modal-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  resize: vertical;
  min-height: 78px;
  background: #fafcfb;
  outline: none;
}

.mod-modal-field textarea:focus {
  border-color: #00af93;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 175, 147, 0.14);
}

.mod-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.mod-btn-ghost {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #3c4a45;
  font-weight: 800;
  cursor: pointer;
}

.mod-btn-ghost:hover {
  background: #f3f6f4;
}

.mod-btn-solid {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: #d97706;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.mod-btn-solid:hover {
  filter: brightness(0.96);
}

.mod-modal-suspend .mod-btn-solid {
  background: #b3392e;
}

.mod-btn-solid:disabled,
.mod-btn-ghost:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* User Management: vertical card layout */
.mod-user-list {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.mod-user-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.mod-user-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.mod-user-name {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-weight: 900;
  font-size: 1rem;
  color: var(--ink);
}

.mod-user-tag {
  background: #e2f3e8;
  color: #007a68;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
}

.mod-user-email {
  display: block;
  color: #6b7a75;
  font-size: 0.82rem;
  margin-top: 2px;
  word-break: break-all;
}

.mod-user-status {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
  white-space: nowrap;
}

.mod-user-status.active {
  background: #e2f3e8;
  color: #1d6f46;
}

.mod-user-status.suspended {
  background: #fde4e4;
  color: #a02020;
}

.mod-user-status.unverified {
  background: #fdf3c8;
  color: #7a5b00;
}

.mod-user-status.unconfirmed {
  background: #eef1f0;
  color: #6b7a75;
}

.mod-user-meta {
  font-size: 0.82rem;
  color: #6b7a75;
}

.mod-user-meta strong {
  color: var(--ink);
}

.mod-featured-tag {
  display: inline-block;
  margin-left: 8px;
  background: #e2f3e8;
  color: #007a68;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 10px;
  vertical-align: middle;
}

.mod-post-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 260px;
  overflow-y: auto;
  margin: 10px 0;
}

.mod-post-option {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  width: 100%;
  background: #f7faf9;
  border: 1px solid #e3ece9;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
}

.mod-post-option:hover {
  border-color: #00af93;
}

.mod-post-option.is-selected {
  border-color: #00af93;
  background: #e9f7f3;
}

.mod-post-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #e3ece9;
}

.mod-post-thumb-lg {
  width: 64px;
  height: 64px;
}

.mod-post-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1;
}

.mod-post-title {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mod-post-desc {
  font-weight: 400;
  font-size: 0.8rem;
  color: #667;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.user-admin-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 14px;
  gap: 14px;
  align-items: start;
}

.user-admin-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}

.report-board {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.report-board article {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  grid-gap: 12px;
  gap: 12px;
  align-items: center;
  border-left: 6px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #f7faf8;
}

.report-board .urgent {
  border-color: #c53434;
}

.report-board .high {
  border-color: var(--coral);
}

.report-board .medium {
  border-color: var(--yellow);
}

.report-board .low {
  border-color: var(--green);
}

.feature-stack span,
.notification-list p,
.audit-list p {
  margin: 0;
  border-radius: 8px;
  padding: 12px;
  background: #f7faf8;
}

.admin-stats {
  margin: 0;
}

.quality-bars {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.quality-bars span {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  padding: 12px;
  background: #edf2ef;
  color: var(--ink);
  font-weight: 900;
}

.quality-bars span::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--value);
  background: rgba(23, 110, 85, 0.18);
}

.admin-badges {
  margin-top: 10px;
}

.role-grid {
  grid-template-columns: repeat(2, 1fr);
}

.role-grid article {
  display: grid;
  grid-gap: 5px;
  gap: 5px;
  border-radius: 8px;
  padding: 14px;
  background: #f7faf8;
}

.role-grid span {
  color: var(--muted);
}

@keyframes travelFade {
  0%,
  100% {
    opacity: 0;
    transform: scale(1.04);
  }

  8%,
  25% {
    opacity: 1;
  }

  33% {
    opacity: 0;
    transform: scale(1.12);
  }
}

@keyframes floatPlane {
  0%,
  100% {
    transform: translate(0, 0) rotate(-8deg);
  }

  50% {
    transform: translate(16px, -18px) rotate(8deg);
  }
}

@media (max-width: 900px) {
  .topbar {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .intro-strip,
  .ranking-layout,
  .tool-grid,
  .university-grid,
  .campus-layout,
  .map-toolbar,
  .map-layout,
  .map-feature-grid,
  .board-feature-grid,
  .board-system-row {
    grid-template-columns: 1fr;
  }

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

  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-inspiration {
    min-height: 680px;
  }

  .login-panel {
    min-height: auto;
  }

  .member-topbar,
  .member-shell,
  .moderator-page,
  .mod-topbar,
  .mod-grid-two,
  .mod-grid-three {
    grid-template-columns: 1fr;
  }

  .mod-sidebar {
    position: static;
    height: auto;
  }

  .mod-sidebar nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .mod-topbar {
    display: grid;
  }

  .mod-top-actions {
    justify-content: stretch;
  }

  .mod-top-actions input,
  .mod-top-actions button {
    width: 100%;
  }

  .mod-metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .member-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .member-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
    overscroll-behavior: auto;
  }

  .right-rail {
    order: 3;
  }

  .trend-strip,
  .type-grid,
  .budget-fields,
  .board-select-grid,
  .board-hub-grid {
    grid-template-columns: 1fr 1fr;
  }

  .live-highlights {
    grid-template-columns: 1fr;
  }

  .feature-post {
    grid-template-columns: 1fr;
  }

  .feed-grid {
    grid-template-columns: 1fr;
  }

  .post-card {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .post-card img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .ranking-list article {
    grid-template-columns: auto 1fr;
  }

  .ranking-list article strong {
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  .topbar {
    gap: 14px;
  }

  .brand {
    width: 100%;
  }

  .nav-action {
    display: none;
  }

  .nav-links {
    gap: 8px;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 2px;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding: 8px 0;
  }

  .hero {
    min-height: 760px;
  }

  .search-row,
  .form-grid,
  .budget-result {
    grid-template-columns: 1fr;
  }

  .search-row button {
    min-height: 48px;
  }

  .ranking-list article {
    grid-template-columns: 1fr;
  }

  .ranking-list article strong {
    grid-column: auto;
  }

  .map-shell,
  .map-base {
    min-height: 640px;
  }

  .map-pin {
    width: 40px;
    height: 40px;
    font-size: 0.66rem;
  }

  .pin-one {
    left: 8%;
    top: 16%;
  }

  .pin-two {
    right: 7%;
    top: 34%;
  }

  .pin-three {
    left: 8%;
    bottom: 27%;
  }

  .pin-four {
    right: 8%;
    bottom: 12%;
  }

  .pin-five {
    right: 26%;
    bottom: 38%;
  }

  .pin-six {
    left: 50%;
    top: 48%;
  }

  .pin-popup {
    left: 14px;
    right: 14px;
    bottom: 82px;
    width: auto;
  }

  .add-spot-button {
    right: 14px;
    bottom: 14px;
  }

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

  .trip-board {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .login-trips,
  .unlock-grid,
  .trend-strip,
  .type-grid,
  .budget-fields,
  .board-select-grid,
  .board-hub-grid {
    grid-template-columns: 1fr;
  }

  .feed-composer,
  .composer-head,
  .publish-row,
  .board-hub-head {
    align-items: stretch;
    flex-direction: column;
  }

  .share-button,
  .publish-row button,
  .board-hub-head button,
  .create-board-card button {
    width: 100%;
  }

  .mod-sidebar nav,
  .mod-metric-grid,
  .admin-row,
  .report-board article,
  .user-admin-card,
  .role-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Profile Page ── */

.profile-page {
  min-height: 100vh;
  background: var(--bg);
  padding-top: 80px;
}

.profile-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

.profile-main {
  padding-bottom: 80px;
}

.profile-loading {
  min-height: 60vh;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 1.1rem;
}

.profile-header {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--line);
}

.profile-avatar-section {
  flex-shrink: 0;
  text-align: center;
}

.profile-avatar {
  transition: opacity 0.15s;
}

.profile-avatar:hover {
  opacity: 0.85;
}

.profile-info h1 {
  font-size: 1.8rem;
  margin: 0 0 4px;
}

.profile-form label {
  display: block;
  margin-bottom: 16px;
}

.profile-form label > span:first-child {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 5px;
}

.profile-form textarea,
.profile-form select,
.profile-form input[type="text"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.profile-form textarea:focus,
.profile-form select:focus,
.profile-form input[type="text"]:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 175, 147, 0.1);
}

.profile-form button[type="submit"] {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--coral), #f49b45);
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}

.profile-form button[type="submit"]:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.profile-form button[type="submit"]:disabled {
  opacity: 0.6;
  transform: none;
  cursor: not-allowed;
}

/* ── Sidebar polish ── */

.sidebar-panel select,
.sidebar-panel input[type="text"],
.sidebar-panel input[type="password"] {
  box-sizing: border-box;
}

.sidebar-panel button {
  transition: opacity 0.15s;
}

.sidebar-panel button:hover {
  opacity: 0.85;
}

/* ─── Post Detail Page ─── */
.pd-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 56px) clamp(18px, 4vw, 56px);
}

.pd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  grid-gap: 40px;
  gap: 40px;
  align-items: start;
}

.pd-main {
  min-width: 0;
}

.pd-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.pd-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-weight: 800;
  font-size: 0.9rem;
  border: 0;
  background: none;
  padding: 4px 0;
  cursor: pointer;
}

.pd-back:hover {
  text-decoration: underline;
}

.pd-owner-actions {
  display: flex;
  gap: 8px;
}

.pd-owner-actions button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  padding: 7px 14px;
  font-weight: 800;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.15s, border-color 0.15s;
}

.pd-owner-actions button:hover {
  background: rgba(255, 107, 80, 0.1);
  border-color: var(--coral);
}

.pd-owner-actions .pd-danger:hover {
  background: #fff0ee;
  color: var(--coral);
  border-color: var(--coral);
}

.pd-header h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
  margin: 10px 0 18px;
}

.pd-type-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.pd-type {
  background: var(--mint);
  color: var(--green);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 20px;
}

.pd-featured {
  background: #fff6e2;
  color: #8b5a00;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 20px;
}

.pd-visibility {
  background: #ede7f6;
  color: #5e35b1;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 20px;
}

.pd-locked {
  text-align: center;
  padding: 60px 24px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  margin: 24px 0;
}

.pd-locked-icon {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 12px;
}

.pd-locked h2 {
  margin: 0 0 8px;
}

.pd-locked p {
  color: var(--muted);
  max-width: 380px;
  margin: 0 auto 18px;
  line-height: 1.5;
}

.pd-locked a {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 8px;
  text-decoration: none;
}

.pd-author {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pd-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--mint);
}

.pd-avatar-fallback {
  display: grid;
  place-items: center;
  background: var(--green);
  color: white;
  font-weight: 900;
  font-size: 1.1rem;
}

.pd-author-meta {
  display: grid;
  grid-gap: 2px;
  gap: 2px;
}

.pd-author-meta strong {
  font-size: 0.95rem;
}

.pd-author-meta span {
  color: var(--muted);
  font-size: 0.8rem;
}

.pd-city {
  margin-left: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

.pd-gallery {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  margin: 24px 0;
}

.pd-cover {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.pd-thumb {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 12px;
}

.pd-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 24px;
}

.pd-content .pd-excerpt {
  color: var(--muted);
  font-style: italic;
  border-left: 3px solid var(--mint);
  padding-left: 14px;
}

.pd-budget {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.pd-budget h3 {
  margin: 0 0 14px;
}

.pd-budget-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  grid-gap: 10px;
  gap: 10px;
}

.pd-budget-grid div {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  padding: 12px;
  border-radius: 10px;
  background: var(--mint);
}

.pd-budget-grid span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.pd-budget-grid strong {
  font-size: 1.05rem;
}

.pd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.pd-tags span {
  background: #fff3e0;
  color: #b4521b;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.pd-boards {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.85rem;
}

.pd-boards-label {
  color: var(--muted);
}

.pd-boards a {
  background: #e8f0ff;
  color: var(--blue);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 700;
}

.pd-boards a:hover {
  text-decoration: underline;
}

.pd-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.pd-action-bar button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 24px;
  padding: 9px 18px;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--ink);
  transition: all 0.15s;
}

.pd-action-bar button:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.pd-action-bar button.is-active {
  border-color: var(--coral);
  background: #fff0ee;
  color: var(--coral);
}

.pd-action-bar .pd-down.is-active {
  border-color: var(--blue);
  background: #eef4ff;
  color: var(--blue);
}

.pd-action-bar .pd-save.is-saved {
  border-color: var(--green);
  background: var(--mint);
  color: var(--green);
}

.pd-comment-count {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

/* Post detail: Report button (Module 13) */
.pd-action-bar .pd-report {
  color: #a02020;
  border-color: #ecc8c8;
}

.pd-action-bar .pd-report:hover {
  border-color: #a02020;
  color: #a02020;
  background: #fdf0f0;
}

.pd-action-bar .pd-report:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Post detail: Add to collection dropdown (Module 11) */
.pd-col-wrap {
  position: relative;
  display: inline-block;
}

.pd-col-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 6px;
  display: flex;
  flex-direction: column;
}

.pd-col-dropdown button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border: none !important;
  background: none;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  border-radius: 8px;
  cursor: pointer;
  transition: none;
}

.pd-col-dropdown button:hover {
  background: var(--mint);
  border-color: transparent !important;
  color: var(--ink);
}

.pd-col-dropdown .pd-col-new {
  color: var(--green);
  border-top: 1px solid #f0f0f0;
  margin-top: 4px;
  padding-top: 8px;
}

.pd-col-dropdown .pd-col-new:hover {
  color: var(--green);
}

.pd-col-empty {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

.pd-col-count {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

/* ─── Trip Collections page (Module 11) ─── */
.col-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.col-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.col-back {
  color: var(--green);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 800;
}

.col-actions {
  display: flex;
  gap: 8px;
}

.col-actions button {
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  color: var(--ink);
}

.col-actions .pd-danger {
  color: #c62828;
  border-color: #f5c6c6;
}

.col-header h1 {
  font-size: 1.6rem;
  color: #00908f;
  margin: 0 0 8px;
}

.col-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.col-chip {
  background: var(--mint);
  color: #00796b;
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 0.8rem;
  font-weight: 800;
}

.col-desc {
  width: 100%;
  color: var(--muted);
  font-size: 0.92rem;
  margin: 6px 0 0;
}

.col-stats {
  display: flex;
  gap: 18px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.85rem;
}

.col-stats strong {
  color: #00908f;
}

.col-edit-form {
  background: #f7fbfa;
  border: 1px solid #c8ece5;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.col-edit-form h2 {
  margin: 0;
  font-size: 1.2rem;
  color: #00908f;
}

.col-edit-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.85rem;
  color: #555;
}

.col-edit-form input,
.col-edit-form textarea {
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
}

.col-edit-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.col-edit-row label {
  flex: 1 1;
  min-width: 180px;
}

.col-edit-btns {
  display: flex;
  gap: 10px;
}

.col-edit-btns button {
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.col-edit-btns .btn-plain {
  background: #fff;
  color: var(--muted);
  border: 1px solid #ddd;
}

.col-msg {
  color: var(--green);
  font-size: 0.85rem;
  margin-top: 8px;
}

.col-ai {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.col-ai p {
  margin: 0;
  font-size: 0.88rem;
  color: #795548;
  flex: 1 1;
  min-width: 200px;
}

.col-ai button {
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  background: #eee;
  color: #999;
  font-weight: 800;
  cursor: not-allowed;
}

.col-section {
  margin-top: 26px;
}

.col-section h2 {
  font-size: 1.05rem;
  color: #00908f;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}

.col-empty-txt {
  color: var(--muted);
  font-size: 0.9rem;
}

.col-share-row {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.col-share-row select {
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.9rem;
  flex: 1 1;
  max-width: 320px;
}

.col-share-row button {
  padding: 8px 18px;
  border: none;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.col-share-row button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.col-shared-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.col-shared-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--mint);
  border: 1px solid #b8e6dd;
  color: #00796b;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

.col-shared-chip a {
  color: #00796b;
  text-decoration: none;
}

.col-shared-chip button {
  border: none;
  background: none;
  color: #00796b;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 900;
}

.col-post-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.col-post-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}

.col-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f0f0f0;
}

.col-thumb-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.col-post-info {
  flex: 1 1;
  min-width: 0;
}

.col-post-title {
  color: #00908f;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
}

.col-post-sub {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 2px 0 0;
}

.col-remove {
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid #f5c6c6;
  background: #fff;
  color: #c62828;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
}

.col-empty {
  text-align: center;
  padding: 60px 20px;
}

.col-empty h2 {
  color: var(--muted);
}

.btn-link {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

/* ─── Comments ─── */
.pd-comments h2 {
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.pd-comment-form {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  margin-bottom: 24px;
}

.pd-comment-form textarea,
.pd-comment-edit textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  font: inherit;
  color: var(--ink);
  resize: vertical;
}

.pd-comment-form-actions {
  display: flex;
  justify-content: flex-end;
}

.pd-comment-form-actions button,
.pd-comment-edit button,
.pd-reply-form button {
  border: 0;
  background: var(--green);
  color: white;
  border-radius: 8px;
  padding: 9px 18px;
  font-weight: 800;
  cursor: pointer;
  font-size: 0.85rem;
}

.pd-comment-form-actions button:disabled,
.pd-reply-form button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pd-login-hint,
.pd-no-comments {
  color: var(--muted);
  margin-bottom: 18px;
}

.pd-login-hint a {
  color: var(--green);
  font-weight: 800;
}

.pd-comment-list {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.pd-comment-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  padding: 16px 18px;
}

.pd-comment-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.pd-comment-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green);
  font-weight: 900;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.pd-comment-head strong {
  font-size: 0.9rem;
}

.pd-comment-date {
  color: var(--muted);
  font-size: 0.78rem;
}

.pd-comment-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
}

.pd-comment-actions button {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.pd-comment-actions button:hover {
  color: var(--coral);
  text-decoration: underline;
}

.pd-comment-body {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.pd-reply-btn {
  border: 0;
  background: none;
  color: var(--green);
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  margin-top: 8px;
  padding: 0;
}

.pd-reply-btn:hover {
  text-decoration: underline;
}

.pd-reply-form {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.pd-reply-form input {
  flex: 1 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
}

.pd-replies {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  margin-top: 14px;
  padding-left: 18px;
  border-left: 2px solid var(--mint);
}

.pd-comment-edit {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.pd-comment-edit > div {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.pd-comment-edit button + button {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}

.pd-msg {
  color: var(--coral);
  font-size: 0.85rem;
  margin: 8px 0 0;
}

/* ─── Edit post form ─── */
.pd-edit-form {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: 28px;
}

.pd-edit-form h2 {
  margin: 0;
}

.pd-edit-form label {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  font-weight: 800;
  color: var(--muted);
  font-size: 0.9rem;
}

.pd-edit-form input,
.pd-edit-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
  color: var(--ink);
}

.pd-edit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-gap: 16px;
  gap: 16px;
}

.pd-edit-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.pd-edit-actions button {
  border: 0;
  background: var(--green);
  color: white;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 800;
  cursor: pointer;
}

.pd-edit-actions button:last-child {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}

/* ─── Related posts sidebar ─── */
.pd-side {
  position: -webkit-sticky;
  position: sticky;
  top: 24px;
}

.pd-side h3 {
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.pd-side-empty {
  color: var(--muted);
  font-size: 0.9rem;
}

.pd-related-list {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.pd-related-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  grid-gap: 12px;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--panel);
  transition: box-shadow 0.2s, transform 0.2s;
}

.pd-related-card:hover {
  box-shadow: 0 10px 24px rgba(23, 33, 31, 0.1);
  transform: translateY(-2px);
}

.pd-related-card img {
  width: 96px;
  height: 96px;
  object-fit: cover;
}

.pd-related-card > div {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  align-content: center;
  padding: 10px 12px 10px 0;
  min-width: 0;
}

.pd-related-type {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--green);
}

.pd-related-card strong {
  font-size: 0.9rem;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.pd-related-meta {
  font-size: 0.75rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .pd-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .pd-side {
    position: static;
    margin-top: 8px;
  }

  .pd-related-list {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

.post-title-link:hover {
  color: var(--coral);
  text-decoration: underline;
}

/* ═══ Boards list (Module 9) ═══ */
.boards-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 56px) clamp(18px, 4vw, 56px);
}

.boards-header {
  margin-bottom: 28px;
}

.boards-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--ink);
}

.boards-sub {
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
}

.boards-empty {
  text-align: center;
  padding: 48px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
}

.boards-create-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 22px;
  background: var(--green);
  color: #fff;
  border-radius: 10px;
  font-weight: 800;
}

.boards-create-btn:hover {
  background: #0f5a44;
}

.boards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-gap: 24px;
  gap: 24px;
}

.board-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(23, 33, 31, 0.08);
  border-top: 4px solid var(--green);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}

.board-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.board-cover {
  height: 150px;
  background: linear-gradient(120deg, #4fd1c5, var(--blue));
  position: relative;
}

.board-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.board-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1;
}

.board-type {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--green);
  background: var(--mint);
  padding: 4px 10px;
  border-radius: 999px;
}

.board-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.board-name a:hover {
  color: var(--green);
}

.board-desc {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1 1;
}

.board-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 4px;
}

.board-view-link {
  color: var(--green);
  font-weight: 800;
}

.board-view-link:hover {
  text-decoration: underline;
}

/* ═══ Board detail (Module 9) ═══ */
.board-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 56px) clamp(18px, 4vw, 56px);
}

.board-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-weight: 800;
  font-size: 0.9rem;
}

.board-back:hover {
  text-decoration: underline;
}

.board-hero {
  margin-top: 18px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(23, 33, 31, 0.08);
  border-top: 4px solid var(--green);
}

.board-hero-cover {
  height: 200px;
  background: linear-gradient(120deg, var(--green), var(--blue));
  position: relative;
}

.board-hero-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.board-hero-body {
  padding: clamp(20px, 3vw, 32px);
}

.board-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.board-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--green);
  background: var(--mint);
  padding: 4px 10px;
  border-radius: 999px;
}

.board-badge-sub {
  color: var(--muted);
  background: #eef1ee;
}

.board-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.board-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--ink);
}

.board-desc-big {
  color: var(--muted);
  max-width: 640px;
  line-height: 1.55;
  margin: 0;
}

.board-members {
  text-align: right;
}

.board-members-num {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--green);
}

.board-members-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.board-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  grid-gap: 18px;
  gap: 18px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.board-stat-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.board-stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 2px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-posts-head {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 32px 0 16px;
  color: var(--ink);
}

.board-posts-empty {
  text-align: center;
  padding: 40px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
}

.board-posts-empty .boards-create-btn {
  margin-top: 14px;
}

.board-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-gap: 22px;
  gap: 22px;
}

.board-post-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(23, 33, 31, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}

.board-post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.board-post-cover {
  height: 176px;
  background: #eef1ee;
  position: relative;
}

.board-post-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.board-post-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1;
}

.board-post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.board-post-type {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--green);
  background: var(--mint);
  padding: 3px 9px;
  border-radius: 999px;
}

.board-post-author {
  font-size: 0.78rem;
  color: var(--muted);
}

.board-post-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.board-post-title a:hover {
  color: var(--green);
}

.board-post-excerpt {
  color: var(--muted);
  font-size: 0.86rem;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1 1;
}

.board-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--muted);
}

.board-post-votes {
  display: flex;
  gap: 14px;
}

.board-post-budget {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--green);
  margin: 2px 0 0;
}

/* ═══ Pins / Hidden Gems (Module 8) ═══ */
.pins-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 56px) clamp(18px, 4vw, 56px);
}

.pins-header {
  margin-bottom: 24px;
}

.pins-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--green);
}

.pins-sub {
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
}

.pins-map-wrap {
  margin-bottom: 28px;
}

.pins-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.pins-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 6px;
}

.pins-select {
  min-width: 200px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 0.9rem;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.pins-select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(23, 110, 85, 0.15);
}

.pins-empty {
  text-align: center;
  padding: 48px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--muted);
}

.pins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

.pin-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 4px 18px rgba(23, 33, 31, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.pin-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.pin-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.pin-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}

.pin-badge-food { background: #fff1e6; color: #c2570a; }
.pin-badge-stay { background: #e8f1fb; color: #1d5fb0; }
.pin-badge-scam { background: #fdeaea; color: #b3342b; }
.pin-badge-view { background: #e7f6ee; color: #1b7a52; }
.pin-badge-nightlife { background: #f2eafa; color: #6d3aa8; }
.pin-badge-budget { background: var(--mint); color: var(--green); }

.pin-votes {
  display: flex;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
}

.pin-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.pin-desc {
  color: var(--muted);
  font-size: 0.87rem;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1 1;
}

.pin-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.pin-city {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Pins: Report button (Module 13) */
.pin-report {
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: white;
  border-radius: 24px;
  padding: 6px 12px;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.78rem;
  color: #a02020;
  transition: all 0.15s;
}

.pin-report:hover {
  border-color: #a02020;
  background: #fdf0f0;
}

/* Pins map */
.pins-map {
  position: relative;
  background: #eef1ee;
  border: 1px solid var(--line);
  border-radius: 16px;
  height: 384px;
  overflow: hidden;
}

.pins-map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-align: center;
}

.pins-map-emoji {
  font-size: 2.6rem;
  display: block;
}

.pins-map-placeholder p {
  margin: 8px 0 0;
  font-size: 0.92rem;
}

.pins-map-markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pins-map-pin {
  position: absolute;
  font-size: 1.5rem;
  pointer-events: auto;
  background: none;
  border: 0;
  cursor: pointer;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
  transition: transform 0.15s;
}

.pins-map-pin:hover {
  transform: scale(1.25);
}

.pins-map-popup {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 16px;
  pointer-events: auto;
}

.pins-map-popup-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.pins-map-popup-title {
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
}

.pins-map-popup-close {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 1rem;
  cursor: pointer;
}

.pins-map-popup-close:hover {
  color: var(--ink);
}

.pins-map-popup-desc {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 8px 0 0;
  line-height: 1.5;
}

.pins-map-popup-address {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 6px 0 0;
}

.pins-map-popup-meta {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Pin → Add to collection (Module 11) */
.pin-col-btn {
  position: relative;
  display: inline-block;
}

.pin-col-toggle {
  border: 0;
  background: none;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--green);
  cursor: pointer;
  white-space: nowrap;
}

.pin-col-toggle:hover {
  color: #0f5a44;
  text-decoration: underline;
}

.pin-col-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  width: 220px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 6px;
  display: flex;
  flex-direction: column;
}

.pin-col-item {
  display: block;
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
  padding: 8px 10px;
  font-size: 0.82rem;
  color: var(--ink);
  border-radius: 8px;
  cursor: pointer;
}

.pin-col-item:hover {
  background: var(--mint);
}

.pin-col-new {
  font-weight: 800;
  color: var(--green);
}

.pin-col-msg {
  margin-left: 8px;
  font-size: 0.75rem;
  color: var(--muted);
}

