:root {
  --app-ink: #111216;
  --app-paper: #f7f6f1;
  --app-surface: #ffffff;
  --app-line: #e3e3dd;
  --app-muted: #72767d;
  --app-blue: #4265f5;
  --app-blue-soft: #edf1ff;
  --app-lime: #ddff37;
  --app-cream: #fff2d5;
  --app-radius-sm: 12px;
  --app-radius: 18px;
  --app-radius-lg: 26px;
  --app-shadow: 0 14px 36px rgba(17, 18, 22, 0.08);
  --app-container: 1256px;
}

html {
  background: var(--app-paper);
  scroll-padding-top: 132px;
}

body.cm-body {
  min-width: 320px;
  padding: 0;
  color: var(--app-ink);
  background: var(--app-paper);
  font-family: "Noto Sans KR", sans-serif;
}

body.cm-body button,
body.cm-body input,
body.cm-body select,
body.cm-body textarea {
  letter-spacing: -0.02em;
}

.cm-container,
.cm-home-shell,
.cm-route,
.cm-main > .page-head,
.cm-main > .mypage-panel,
.cm-main > .settings-list,
.cm-main > .support-center-page,
.cm-main > .withdrawal-page,
.cm-main > .auth-page,
.cm-main > .card-grid,
.cm-main > .list-grid,
.cm-main > .empty-state {
  width: min(var(--app-container), calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

/* Header: app navigation expanded into a two-row desktop header. */
.cm-header {
  position: sticky;
  z-index: 50;
  top: 0;
  color: var(--app-ink);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--app-line);
  box-shadow: none;
  backdrop-filter: saturate(180%) blur(14px);
}

.cm-signal-bar {
  display: none;
}

.cm-header-main {
  display: grid;
  grid-template-columns: auto minmax(500px, 1fr) auto;
  align-items: center;
  min-height: 72px;
  padding: 0;
  border: 0;
}

.cm-wordmark {
  gap: 10px;
  color: var(--app-ink);
}

.cm-wordmark-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--app-lime);
}

.cm-wordmark strong {
  color: var(--app-ink);
  font: 800 16px/1 Manrope, sans-serif;
  letter-spacing: -0.045em;
}

.cm-wordmark small {
  color: #777b82;
  font: 700 6px/1 Manrope, sans-serif;
  letter-spacing: 0.14em;
}

.cm-primary-nav {
  justify-self: start;
  gap: 3px;
  margin-left: 42px;
}

.cm-primary-nav button {
  min-height: 72px;
  padding: 0 17px;
  color: #4e5259;
  font-size: 14px;
  font-weight: 800;
}

.cm-primary-nav button:hover,
.cm-primary-nav button.active {
  color: var(--app-ink);
}

.cm-primary-nav button::after {
  right: 17px;
  bottom: 0;
  left: 17px;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: var(--app-lime);
}

.cm-header-actions {
  gap: 8px;
}

.cm-saved,
.cm-member-toggle,
.cm-header-actions .auth-button,
.cm-header-actions .profile-menu-button {
  height: 38px;
  border: 1px solid var(--app-line);
  border-radius: 11px;
  color: var(--app-ink);
  background: #fff;
  font-size: 11px;
  font-weight: 800;
}

.cm-saved span {
  color: var(--app-ink);
  font-size: 17px;
}

.cm-member-toggle span {
  width: 8px;
  height: 8px;
  border-color: var(--app-ink);
}

.cm-header-actions .auth-button.primary {
  border-color: var(--app-ink);
  color: #fff;
  background: var(--app-ink);
}

.cm-header-actions .auth-button.ghost {
  color: #555960;
}

.cm-header-actions .profile-menu-button {
  color: var(--app-ink);
  background: #fff;
}

.cm-header-actions .account-menu {
  top: calc(100% + 10px);
  width: 224px;
  border: 1px solid var(--app-line);
  border-radius: 14px;
  color: var(--app-ink);
  background: #fff;
  box-shadow: var(--app-shadow);
}

.cm-header-actions .account-menu button:hover {
  background: #f4f4f0;
}

.cm-search-deck {
  display: grid;
  grid-template-columns: minmax(360px, 720px) auto;
  justify-content: space-between;
  gap: 20px;
  min-height: 58px;
  padding: 0;
  color: var(--app-ink);
  background: #fff;
  border-top: 1px solid #eeeeea;
}

.cm-search-deck .global-search {
  justify-self: stretch;
  width: 100%;
  height: 42px;
  padding: 0 7px 0 13px;
  border: 1px solid #d8d8d2;
  border-radius: 11px;
  background: #f7f7f3;
}

.cm-search-deck .search-icon {
  color: var(--app-ink);
  font-size: 21px;
}

.cm-search-deck .global-search input {
  padding: 0 10px;
  color: var(--app-ink);
  font-size: 12px;
}

.cm-search-deck kbd {
  border-color: #dbdcd6;
  color: #858990;
  background: #fff;
}

.cm-search-submit {
  height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--app-ink);
  background: var(--app-lime);
}

.cm-search-suggestions {
  gap: 8px;
}

.cm-search-suggestions button {
  height: 34px;
  padding: 0 12px;
  border-color: var(--app-line);
  border-radius: 10px;
  color: #555960;
  background: #fff;
  font-size: 10px;
}

.cm-search-suggestions button:hover {
  border-color: var(--app-ink);
  color: var(--app-ink);
}

/* Home */
.cm-main {
  min-height: 720px;
  background: var(--app-paper);
}

.cm-home {
  overflow: visible;
}

.cm-home-shell {
  padding: 34px 0 96px;
}

.home-notice-strip,
.cm-home-hero .home-notice-strip {
  display: flex;
  align-items: center;
  min-height: 42px;
  margin: 0 0 20px;
  padding: 10px 14px;
  border: 1px solid var(--app-line);
  border-radius: 12px;
  color: #3f4349;
  background: #fff;
  font-size: 11px;
}

.home-notice-icon {
  color: var(--app-blue);
}

.cm-app-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  min-height: 188px;
  padding: 28px 34px;
  overflow: hidden;
  border: 1px solid var(--app-line);
  border-radius: var(--app-radius-lg);
  background:
    radial-gradient(circle at 88% 12%, rgba(66, 101, 245, 0.14), transparent 30%),
    linear-gradient(135deg, #fff 0%, #faf9f4 100%);
}

.cm-kicker,
.cm-home-section-intro span,
.cm-search-copy span {
  color: var(--app-blue);
  font: 800 9px/1 Manrope, sans-serif;
  letter-spacing: 0.13em;
}

.cm-app-intro h1 {
  margin: 13px 0 8px;
  color: var(--app-ink);
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.075em;
}

.cm-app-intro p {
  margin: 0;
  color: var(--app-muted);
  font-size: 12px;
}

.cm-app-intro-actions {
  display: flex;
  gap: 8px;
  padding-bottom: 4px;
}

.cm-body .card-action,
.cm-body .page-write-button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--app-line);
  border-radius: 11px;
  color: var(--app-ink);
  background: #fff;
  font-size: 11px;
  font-weight: 800;
}

.cm-body .card-action.primary,
.cm-body .page-write-button {
  border-color: var(--app-ink);
  color: #fff;
  background: var(--app-ink);
}

.cm-home-paths {
  display: block;
  width: 100%;
  margin: 18px 0 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.cm-home-paths .quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.cm-home-paths .quick-tile {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-content: center;
  min-height: 80px;
  padding: 14px;
  border: 1px solid var(--app-line);
  border-radius: 15px;
  color: var(--app-ink);
  background: #fff;
  text-align: left;
  box-shadow: none;
}

.cm-home-paths .quick-tile:last-child {
  border-right: 1px solid var(--app-line);
}

.cm-home-paths .quick-tile::after {
  content: "›";
  position: absolute;
  top: 11px;
  right: 13px;
  color: #a0a39f;
  font: 700 18px/1 Manrope, sans-serif;
}

.cm-home-paths .quick-tile:hover {
  color: var(--app-ink);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: var(--app-shadow);
}

.cm-home-paths .quick-icon {
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 10px;
  color: var(--app-ink);
  background: var(--app-lime);
}

.cm-home-paths .quick-icon svg {
  stroke: currentColor;
}

.cm-home-paths .quick-tile strong {
  align-self: end;
  font-size: 12px;
}

.cm-home-paths .quick-tile > span:last-child {
  align-self: start;
  overflow: hidden;
  color: #858990;
  font-size: 8px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.section-title-row h2,
.cm-home-editorial .section-title-row h2,
.cm-community-digest h2 {
  margin: 8px 0 0;
  color: var(--app-ink);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.055em;
}

.text-button,
.cm-home-editorial .text-button,
.cm-market-now .text-button {
  padding: 8px 0;
  border: 0;
  color: #666a71;
  background: transparent;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.text-button span {
  margin-left: 5px;
  color: var(--app-blue);
  font-size: 16px;
}

.cm-home-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(310px, 0.75fr);
  gap: 26px;
  width: 100%;
  margin: 62px 0 0;
}

.cm-home-editorial .section-title-row,
.cm-market-now .section-title-row,
.cm-home-meetups .section-title-row {
  margin-bottom: 16px;
}

.cm-home-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cm-home-showcase-grid .content-card {
  min-width: 0;
}

.cm-home-showcase-grid .card-media {
  aspect-ratio: 16 / 10;
}

.cm-community-digest {
  display: block;
  width: auto;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--app-line);
  border-radius: var(--app-radius);
  color: var(--app-ink);
  background: #fff;
}

.cm-community-digest > .list-grid {
  gap: 0;
}

.cm-community-digest .line-card,
.cm-community-digest .line-card.text-only {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 68px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid #ecece7;
  border-radius: 0;
  color: var(--app-ink);
  background: transparent;
  box-shadow: none;
}

.cm-community-digest .line-card:last-child {
  border-bottom: 0;
}

.cm-community-digest .line-card:hover {
  background: transparent;
  transform: translateX(2px);
}

.cm-community-digest .line-card p {
  display: none;
}

.cm-community-digest .line-card h3 {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cm-community-digest .price {
  align-self: center;
  color: #999c9f;
  font-size: 8px;
}

.cm-home-campaign,
.cm-market-now,
.cm-home-meetups {
  width: 100%;
  margin: 62px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.cm-home-campaign .banner-carousel {
  border-radius: var(--app-radius);
  box-shadow: none;
}

.cm-home-campaign .banner-viewport {
  aspect-ratio: 5 / 1;
  min-height: 190px;
  border-radius: var(--app-radius);
}

.cm-home-campaign .banner-slide {
  min-height: 190px;
  border-radius: var(--app-radius);
}

.cm-home-market-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.cm-home-market-grid .line-card {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--app-line);
  border-radius: var(--app-radius);
  background: #fff;
}

.cm-home-market-grid .line-thumb {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 0.76;
  border-radius: 0;
}

.cm-home-market-grid .line-main {
  padding: 13px 13px 4px;
}

.cm-home-market-grid .price {
  grid-column: 1;
  padding: 0 13px 14px;
  color: var(--app-blue);
  font-size: 14px;
  text-align: left;
}

.cm-home-market-grid .card-meta {
  display: none;
}

.cm-home-meetups .cm-meetup-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cm-home-meetups .cm-meetup-grid .content-card:first-child {
  grid-column: auto;
}

.cm-home-meetups .cm-meetup-grid .content-card:first-child .card-media {
  aspect-ratio: 16 / 10;
}

.cm-drive-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 62px;
  padding: 26px 30px;
  border-radius: var(--app-radius);
  color: var(--app-ink);
  background: var(--app-lime);
}

.cm-drive-note > div > span {
  font: 800 8px/1 Manrope, sans-serif;
  letter-spacing: 0.14em;
}

.cm-drive-note strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
  letter-spacing: -0.05em;
}

.cm-drive-note p {
  margin: 6px 0 0;
  color: #555b38;
  font-size: 10px;
}

.cm-drive-note button {
  min-width: 120px;
  min-height: 40px;
  margin: 0;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--app-ink);
  font-size: 10px;
  font-weight: 800;
}

.cm-drive-note button span {
  margin-left: 8px;
  font-size: 15px;
}

/* Shared app cards */
.cm-body .content-card,
.cm-showcase-grid .content-card,
.cm-meetup-grid .content-card,
.cm-drive-grid .content-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--app-line);
  border-radius: var(--app-radius);
  color: var(--app-ink);
  background: #fff;
  box-shadow: none;
}

.cm-body .content-card.clickable:hover,
.cm-showcase-grid .content-card:hover,
.cm-meetup-grid .content-card:hover,
.cm-drive-grid .content-card:hover {
  border-color: #cecec8;
  transform: translateY(-3px);
  box-shadow: var(--app-shadow);
}

.cm-body .card-media {
  background-color: #e9e9e4;
  border-radius: 0;
}

.cm-body .card-body,
.cm-showcase-grid .card-body,
.cm-meetup-grid .card-body,
.cm-drive-grid .card-body {
  padding: 14px;
}

.cm-body .card-body h3,
.cm-body .line-main h3 {
  margin: 8px 0 4px;
  color: var(--app-ink);
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -0.035em;
}

.cm-body .card-body p,
.cm-body .line-main p {
  color: var(--app-muted);
  font-size: 10px;
  line-height: 1.5;
}

.cm-body .badge {
  padding: 4px 7px;
  border: 0;
  border-radius: 7px;
  color: var(--app-blue);
  background: var(--app-blue-soft);
  font-size: 8px;
}

.cm-body .badge.neutral {
  color: #6c7076;
  background: #f0f0ec;
}

.cm-body .badge.warn {
  color: #7a5b00;
  background: var(--app-cream);
}

.cm-body .card-meta {
  gap: 10px;
  color: #96999e;
  font-size: 8px;
}

/* List routes */
.cm-route {
  padding: 38px 0 92px;
}

.cm-route .page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  min-height: 190px;
  margin: 0 0 20px;
  padding: 28px 30px;
  border: 0;
  border-radius: var(--app-radius-lg);
  color: #fff;
  background: var(--app-ink);
}

.cm-route .page-head > div {
  max-width: 680px;
}

.cm-route .page-head > div > span {
  color: var(--app-lime);
  font: 800 8px/1 Manrope, sans-serif;
  letter-spacing: 0.15em;
}

.cm-route .page-head h1 {
  margin: 10px 0 8px;
  color: inherit;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.065em;
}

.cm-route .page-head p {
  margin: 0;
  color: #aeb1b7;
  font-size: 11px;
  line-height: 1.6;
}

.cm-route .page-write-button {
  flex: 0 0 auto;
  min-height: 42px;
  border-color: var(--app-lime);
  color: var(--app-ink);
  background: var(--app-lime);
}

.cm-market-route .page-head {
  background: var(--app-blue);
}

.cm-market-route .page-head > div > span {
  color: var(--app-lime);
}

.cm-showcase-route .page-head,
.cm-community-route .page-head,
.cm-drive-route .page-head,
.cm-search-route .page-head {
  min-height: 150px;
  padding: 18px 0 22px;
  border-bottom: 1px solid var(--app-line);
  border-radius: 0;
  color: var(--app-ink);
  background: transparent;
}

.cm-showcase-route .page-head > div > span,
.cm-community-route .page-head > div > span,
.cm-drive-route .page-head > div > span,
.cm-search-route .page-head > div > span {
  color: var(--app-blue);
}

.cm-showcase-route .page-head p,
.cm-community-route .page-head p,
.cm-drive-route .page-head p,
.cm-search-route .page-head p {
  color: var(--app-muted);
}

.cm-showcase-route .page-write-button,
.cm-community-route .page-write-button {
  border-color: var(--app-ink);
  color: #fff;
  background: var(--app-ink);
}

.cm-route-toolbar,
.cm-route .filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  margin: 0 0 18px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--app-line);
  border-radius: 0;
  background: transparent;
}

.cm-route .filter-row {
  gap: 7px;
}

.cm-route .chip,
.cm-body .chip,
.cm-body .pill-button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--app-line);
  border-radius: 10px;
  color: #62666d;
  background: #fff;
  font-size: 10px;
  font-weight: 800;
}

.cm-route .chip.active,
.cm-body .chip.active,
.cm-body .pill-button.active {
  border-color: var(--app-ink);
  color: #fff;
  background: var(--app-ink);
}

.cm-route .select,
.cm-body .select {
  min-height: 36px;
  border: 1px solid var(--app-line);
  border-radius: 10px;
  color: var(--app-ink);
  background: #fff;
  font-size: 10px;
}

.cm-route .filter-button {
  border-radius: 10px;
  color: #fff;
  background: var(--app-ink);
}

.cm-route .active-filter-summary span {
  border-radius: 8px;
  background: #ecece7;
}

.cm-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cm-showcase-grid .content-card:nth-child(1) {
  grid-column: auto;
  grid-row: auto;
}

.cm-showcase-grid .content-card:nth-child(1) .card-media,
.cm-showcase-grid .card-media {
  aspect-ratio: 16 / 10;
}

.cm-showcase-grid .content-card:nth-child(1) h3 {
  font-size: 14px;
}

.cm-market-stream {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cm-market-stream .line-card {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--app-line);
  border-radius: var(--app-radius);
  background: #fff;
  box-shadow: none;
}

.cm-market-stream .line-thumb {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  border-radius: 0;
}

.cm-market-stream .line-main {
  align-self: start;
  padding: 14px 14px 4px;
}

.cm-market-stream .price {
  grid-column: 1;
  padding: 0 14px 15px;
  color: var(--app-blue);
  font-size: 15px;
  text-align: left;
}

.cm-market-stream .line-card:hover {
  border-color: #cecec8;
  transform: translateY(-3px);
  box-shadow: var(--app-shadow);
}

.cm-meetup-grid,
.cm-drive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cm-meetup-grid .content-card:first-child {
  grid-column: auto;
}

.cm-meetup-grid .content-card:first-child .card-media,
.cm-meetup-grid .card-media,
.cm-drive-grid .card-media {
  aspect-ratio: 16 / 10;
}

.cm-community-route .community-board {
  overflow: hidden;
  border: 1px solid var(--app-line);
  border-radius: var(--app-radius);
  background: #fff;
  box-shadow: none;
}

.cm-community-route .community-board-head {
  color: #888c92;
  background: #f0f0ec;
}

.cm-community-route .community-board-row {
  min-height: 62px;
  border-bottom-color: #ecece7;
}

.cm-community-route .community-board-row:hover {
  background: #fafaf7;
}

.cm-community-route .community-board-badge {
  border-radius: 7px;
  color: var(--app-blue);
  background: var(--app-blue-soft);
}

/* Linkable detail pages */
.cm-detail-route {
  width: min(1120px, calc(100% - 40px));
  padding-top: 26px;
}

.detail-page-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  margin-bottom: 12px;
}

.detail-page-nav button,
.detail-page-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  color: #62666d;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}

.detail-page-nav button:hover,
.detail-page-nav a:hover {
  color: var(--app-ink);
}

.detail-page-nav button span,
.detail-page-nav a span {
  color: var(--app-blue);
  font-size: 15px;
}

.detail-page-card {
  padding: 28px;
  border: 1px solid var(--app-line);
  border-radius: var(--app-radius-lg);
  background: #fff;
  box-shadow: none;
}

.detail-page-card .detail-layout {
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
  gap: 30px;
}

.detail-page-card .detail-layout.text-detail {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
}

.detail-page-card .detail-image {
  min-height: 520px;
  border-radius: var(--app-radius);
  background-color: #e9e9e4;
}

.detail-page-card .community-detail-image {
  min-height: 460px;
}

.detail-page-card .detail-copy {
  gap: 16px;
  padding: 8px 4px;
}

.detail-page-card .detail-copy h3 {
  margin: 0;
  color: var(--app-ink);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.17;
  letter-spacing: -0.055em;
}

.detail-page-card .detail-copy > p {
  color: #555a61;
  font-size: 14px;
  line-height: 1.85;
  white-space: pre-wrap;
}

.detail-page-card .detail-copy > .price {
  color: var(--app-blue);
  font-size: 24px;
}

.detail-page-card .detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.detail-page-card > .section {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--app-line);
}

.detail-page-card > .section .section-title-row h2 {
  font-size: 20px;
}

.detail-page-card .comment-list {
  gap: 8px;
}

.detail-page-card .comment-item {
  padding: 14px 16px;
  border: 1px solid #ecece7;
  border-radius: 12px;
  background: #fafaf7;
}

.detail-page-card .comment-item strong {
  font-size: 11px;
}

.detail-page-card .comment-item p {
  font-size: 12px;
}

.detail-page-card .comment-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
  margin-top: 12px;
}

.detail-page-card .comment-form textarea {
  min-height: 86px;
  border-color: var(--app-line);
  border-radius: 12px;
  background: #fff;
}

.detail-page-card .comment-form .card-action {
  min-width: 92px;
  min-height: 44px;
}

.detail-page-loading,
.detail-page-empty {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 440px;
  padding: 32px;
  border: 1px solid var(--app-line);
  border-radius: var(--app-radius-lg);
  background: #fff;
  text-align: center;
}

.detail-page-loading {
  gap: 14px;
  color: #6d7178;
  font-size: 12px;
}

.detail-page-loading span {
  width: 32px;
  height: 32px;
  border: 3px solid #e5e5df;
  border-top-color: var(--app-blue);
  border-radius: 50%;
  animation: detail-page-spin 0.8s linear infinite;
}

.detail-page-empty > span {
  color: var(--app-blue);
  font: 800 9px/1 Manrope, sans-serif;
  letter-spacing: 0.14em;
}

.detail-page-empty h1 {
  margin: 13px 0 7px;
  font-size: 30px;
  letter-spacing: -0.055em;
}

.detail-page-empty p {
  margin: 0 0 20px;
  color: var(--app-muted);
  font-size: 12px;
}

.cm-body a[data-open-detail]:focus-visible,
.detail-page-nav a:focus-visible,
.detail-page-nav button:focus-visible {
  outline: 3px solid rgba(66, 101, 245, 0.34);
  outline-offset: 3px;
}

@keyframes detail-page-spin {
  to { transform: rotate(360deg); }
}

/* Secondary routes and forms */
.cm-main > .page-head {
  min-height: 154px;
  margin-top: 0;
  padding-top: 42px;
  border-bottom: 1px solid var(--app-line);
}

.cm-main > .page-head > div > span {
  color: var(--app-blue);
}

.cm-main > .page-head h1 {
  margin: 9px 0 6px;
  color: var(--app-ink);
  font-size: 38px;
}

.cm-main > .page-head p {
  color: var(--app-muted);
}

.cm-main > .mypage-panel,
.cm-main > .settings-list,
.cm-main > .support-center-page,
.cm-main > .withdrawal-page,
.cm-main > .auth-page {
  margin-top: 22px;
  margin-bottom: 80px;
}

.mypage-panel,
.settings-section,
.support-intro,
.support-form,
.withdrawal-warning,
.withdrawal-checks,
.withdrawal-confirm,
.auth-page {
  border-color: var(--app-line);
  border-radius: var(--app-radius);
  background: #fff;
  box-shadow: none;
}

.mypage-profile {
  border-radius: var(--app-radius);
  color: #fff;
  background: var(--app-ink);
}

.mypage-stats button strong {
  color: var(--app-blue);
}

.cm-body .form-grid input,
.cm-body .form-grid textarea,
.cm-body .form-grid select,
.cm-body .support-form input,
.cm-body .support-form textarea,
.cm-body .support-form select {
  border-color: var(--app-line);
  border-radius: 11px;
  background: #fff;
}

.cm-body .modal-backdrop {
  z-index: 100;
  background: rgba(10, 11, 14, 0.7);
  backdrop-filter: blur(6px);
}

.cm-body .modal-card,
.cm-body .modal-panel {
  border: 1px solid var(--app-line);
  border-radius: 20px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.cm-body .toast {
  z-index: 120;
  border-radius: 12px;
  color: #fff;
  background: var(--app-ink);
}

/* My panel */
.cm-member-panel {
  z-index: 80;
  width: min(390px, calc(100vw - 24px));
  padding: 24px;
  color: #fff;
  background: var(--app-ink);
  border-left: 1px solid #292b31;
  box-shadow: -24px 0 70px rgba(0, 0, 0, 0.24);
}

.cm-member-head {
  border-bottom-color: #303239;
}

.cm-member-head span,
.cm-member-title > span {
  color: var(--app-lime);
}

.cm-member-panel .profile-card,
.cm-member-panel .activity-item,
.cm-create-grid button {
  border-color: #303239;
  border-radius: 12px;
  background: #1a1c21;
}

.cm-create-grid button span {
  color: var(--app-ink);
  background: var(--app-lime);
}

/* Footer */
.cm-footer {
  padding: 46px 0 24px;
  color: #d9dade;
  background: var(--app-ink);
}

.cm-footer > * {
  width: min(var(--app-container), calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.cm-footer-brand {
  padding-bottom: 30px;
  border-bottom-color: #303239;
}

.cm-footer-brand img {
  width: 54px;
  height: 54px;
  border-radius: 14px;
}

.cm-footer-brand strong {
  font-size: clamp(34px, 5vw, 62px);
}

.cm-footer-brand span,
.cm-footer-nav button,
.cm-footer-nav a {
  color: #858991;
}

.cm-footer-nav span {
  color: var(--app-lime);
}

.cm-mobile-nav {
  display: none;
}

@media (max-width: 1100px) {
  .cm-header-main {
    grid-template-columns: auto minmax(400px, 1fr) auto;
  }

  .cm-primary-nav {
    margin-left: 20px;
  }

  .cm-primary-nav button {
    padding: 0 10px;
    font-size: 12px;
  }

  .cm-saved strong,
  .cm-member-toggle strong {
    display: none;
  }

  .cm-saved,
  .cm-member-toggle {
    width: 38px;
    padding: 0;
  }

  .cm-home-editorial {
    grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.75fr);
  }

  .cm-market-stream {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  html {
    scroll-padding-top: 130px;
  }

  .cm-header-main {
    grid-template-columns: auto 1fr auto;
  }

  .cm-primary-nav {
    justify-self: center;
    margin-left: 12px;
  }

  .cm-primary-nav button {
    padding: 0 8px;
    font-size: 11px;
  }

  .cm-header-actions .auth-button.ghost {
    display: none;
  }

  .cm-search-deck {
    grid-template-columns: 1fr auto;
  }

  .cm-home-editorial {
    grid-template-columns: 1fr;
  }

  .cm-community-digest {
    min-width: 0;
  }

  .cm-home-market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cm-showcase-grid,
  .cm-meetup-grid,
  .cm-drive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 114px;
  }

  body.cm-body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }

  .cm-container,
  .cm-home-shell,
  .cm-route,
  .cm-main > .page-head,
  .cm-main > .mypage-panel,
  .cm-main > .settings-list,
  .cm-main > .support-center-page,
  .cm-main > .withdrawal-page,
  .cm-main > .auth-page,
  .cm-main > .card-grid,
  .cm-main > .list-grid,
  .cm-main > .empty-state {
    width: min(100% - 28px, 640px);
  }

  .cm-header {
    position: sticky;
  }

  .cm-header-main {
    grid-template-columns: 1fr auto;
    min-height: 60px;
  }

  .cm-wordmark-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .cm-wordmark strong {
    font-size: 14px;
  }

  .cm-wordmark small {
    font-size: 5px;
  }

  .cm-primary-nav,
  .cm-saved,
  .cm-header-actions .auth-button.ghost,
  .cm-header-actions .profile-menu-button span:not(.profile-menu-avatar) {
    display: none;
  }

  .cm-member-toggle,
  .cm-header-actions .profile-menu-button {
    display: inline-flex;
    width: 36px;
    height: 36px;
  }

  .cm-header-actions .auth-button.primary {
    display: inline-flex;
    height: 36px;
    padding: 0 10px;
  }

  .cm-search-deck {
    grid-template-columns: 1fr;
    min-height: 54px;
    padding-bottom: 9px;
    border-top: 0;
  }

  .cm-search-deck .global-search {
    height: 43px;
  }

  .cm-search-deck kbd,
  .cm-search-suggestions {
    display: none;
  }

  .cm-home-shell {
    padding: 18px 0 56px;
  }

  .cm-app-intro {
    align-items: flex-start;
    flex-direction: column;
    min-height: 0;
    padding: 23px 22px;
    border-radius: 20px;
  }

  .cm-app-intro h1 {
    font-size: 36px;
  }

  .cm-app-intro-actions {
    width: 100%;
  }

  .cm-app-intro-actions .card-action {
    flex: 1;
    padding: 0 8px;
  }

  .cm-home-paths .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cm-home-paths .quick-tile {
    grid-template-columns: 36px minmax(0, 1fr);
    min-height: 72px;
    padding: 11px;
  }

  .cm-home-paths .quick-tile:nth-child(2) {
    border-right: 1px solid var(--app-line);
  }

  .cm-home-paths .quick-tile:nth-child(-n + 2) {
    border-bottom: 1px solid var(--app-line);
  }

  .cm-home-paths .quick-tile > span:last-child {
    display: none;
  }

  .cm-home-editorial,
  .cm-home-campaign,
  .cm-market-now,
  .cm-home-meetups,
  .cm-drive-note {
    margin-top: 44px;
  }

  .cm-home-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .cm-home-showcase-grid .card-body {
    padding: 10px;
  }

  .cm-home-showcase-grid .card-body p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .cm-community-digest {
    padding: 16px;
  }

  .cm-home-campaign .banner-viewport,
  .cm-home-campaign .banner-slide {
    min-height: 150px;
  }

  .cm-home-market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .cm-home-market-grid .line-main {
    padding: 10px 10px 2px;
  }

  .cm-home-market-grid .price {
    padding: 0 10px 11px;
    font-size: 12px;
  }

  .cm-home-meetups .cm-meetup-grid,
  .cm-meetup-grid,
  .cm-drive-grid {
    grid-template-columns: 1fr;
  }

  .cm-drive-note {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }

  .cm-drive-note button {
    width: 100%;
  }

  .cm-route {
    padding: 18px 0 58px;
  }

  .cm-route .page-head,
  .cm-showcase-route .page-head,
  .cm-community-route .page-head,
  .cm-drive-route .page-head,
  .cm-search-route .page-head {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    min-height: 172px;
    margin: 0 0 14px;
    padding: 22px;
    border: 0;
    border-radius: 20px;
    color: #fff;
    background: var(--app-ink);
  }

  .cm-market-route .page-head {
    background: var(--app-blue);
  }

  .cm-route .page-head > div > span,
  .cm-showcase-route .page-head > div > span,
  .cm-community-route .page-head > div > span,
  .cm-drive-route .page-head > div > span,
  .cm-search-route .page-head > div > span {
    color: var(--app-lime);
  }

  .cm-route .page-head h1 {
    color: #fff;
    font-size: 36px;
  }

  .cm-route .page-head p,
  .cm-showcase-route .page-head p,
  .cm-community-route .page-head p,
  .cm-drive-route .page-head p,
  .cm-search-route .page-head p {
    color: #aeb1b7;
  }

  .cm-route .page-write-button,
  .cm-showcase-route .page-write-button,
  .cm-community-route .page-write-button {
    min-height: 38px;
    border-color: var(--app-lime);
    color: var(--app-ink);
    background: var(--app-lime);
  }

  .cm-route-toolbar,
  .cm-route .filter-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    min-height: 0;
    padding: 10px 0 14px;
  }

  .cm-route .filter-row {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .cm-route .chip {
    flex: 0 0 auto;
  }

  .cm-showcase-grid,
  .cm-market-stream {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .cm-market-stream .line-main {
    padding: 10px 10px 3px;
  }

  .cm-market-stream .price {
    padding: 0 10px 12px;
    font-size: 12px;
  }

  .cm-showcase-grid .card-body {
    padding: 10px;
  }

  .cm-community-route .community-board-head {
    display: none;
  }

  .cm-community-route .community-board-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 12px;
  }

  .cm-community-route .community-author,
  .cm-community-route .community-count,
  .cm-community-route .community-recommend {
    display: none;
  }

  .cm-detail-route {
    width: min(100% - 28px, 640px);
    padding-top: 10px;
  }

  .detail-page-nav {
    min-height: 42px;
    margin-bottom: 7px;
  }

  .detail-page-card {
    padding: 14px;
    border-radius: 20px;
  }

  .detail-page-card .detail-layout,
  .detail-page-card .detail-layout.text-detail {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .detail-page-card .detail-image,
  .detail-page-card .community-detail-image {
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
  }

  .detail-page-card .detail-copy {
    padding: 4px 2px;
  }

  .detail-page-card .detail-copy h3 {
    font-size: 27px;
  }

  .detail-page-card .detail-copy > p {
    font-size: 12px;
    line-height: 1.75;
  }

  .detail-page-card > .section {
    margin-top: 24px;
    padding-top: 20px;
  }

  .detail-page-card .comment-form {
    grid-template-columns: 1fr;
  }

  .detail-page-card .comment-form .card-action {
    width: 100%;
  }

  .detail-page-loading,
  .detail-page-empty {
    min-height: 360px;
    border-radius: 20px;
  }

  .cm-main > .page-head {
    min-height: 120px;
    padding-top: 28px;
  }

  .cm-main > .page-head h1 {
    font-size: 32px;
  }

  .cm-mobile-nav {
    position: fixed;
    z-index: 70;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 10px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    min-height: 60px;
    padding: 5px;
    border: 1px solid #2c2e34;
    border-radius: 18px;
    color: #9da0a7;
    background: rgba(17, 18, 22, 0.97);
    box-shadow: 0 15px 42px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(16px);
  }

  .cm-mobile-nav button {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 2px;
    border: 0;
    border-radius: 12px;
    color: inherit;
    background: transparent;
    font-size: 8px;
    font-weight: 700;
  }

  .cm-mobile-nav button span {
    font-size: 16px;
  }

  .cm-mobile-nav button.active {
    color: var(--app-ink);
    background: var(--app-lime);
  }

  .cm-footer {
    display: none;
  }
}

@media (max-width: 420px) {
  .cm-app-intro h1 {
    font-size: 32px;
  }

  .cm-app-intro-actions {
    flex-direction: column;
  }

  .section-title-row h2,
  .cm-home-editorial .section-title-row h2,
  .cm-community-digest h2 {
    font-size: 19px;
  }

  .cm-body .card-body h3,
  .cm-body .line-main h3 {
    font-size: 12px;
  }

  .cm-body .badge-row {
    gap: 3px;
  }

  .cm-body .badge {
    padding: 3px 5px;
    font-size: 7px;
  }
}

/* Member experience and public profiles */
.member-hub-nav {
  position: sticky;
  z-index: 24;
  top: 130px;
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 58px;
  overflow-x: auto;
  border-bottom: 1px solid #e8e8e5;
  background: rgba(255, 255, 255, 0.96);
  scrollbar-width: none;
  backdrop-filter: blur(12px);
}

.member-hub-nav::-webkit-scrollbar {
  display: none;
}

.member-hub-nav button {
  position: relative;
  flex: 0 0 auto;
  min-height: 58px;
  padding: 0;
  border: 0;
  color: #72767c;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
}

.member-hub-nav button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: transparent;
}

.member-hub-nav button:hover,
.member-hub-nav button.active {
  color: #17181b;
}

.member-hub-nav button.active::after {
  background: var(--app-blue);
}

.member-profile-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 32px;
  padding: 38px 42px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 92% 0%, rgba(221, 255, 55, 0.23), transparent 31%),
    #181a20;
  color: #fff;
}

.member-profile-identity {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.member-profile-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 104px;
  height: 104px;
  overflow: hidden;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #17181b;
  background: var(--app-lime);
  font: 800 34px/1 Manrope, sans-serif;
}

.member-profile-avatar img,
.public-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-profile-kicker {
  color: var(--app-lime);
  font: 800 9px/1 Manrope, sans-serif;
  letter-spacing: 0.15em;
}

.member-profile-name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 9px;
}

.member-profile-name h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.055em;
}

.member-profile-name > span {
  padding: 5px 8px;
  border-radius: 999px;
  color: #d7dae0;
  background: #30333b;
  font-size: 9px;
  font-weight: 700;
}

.member-profile-identity p {
  margin: 9px 0 0;
  color: #c1c4ca;
  font-size: 12px;
  line-height: 1.65;
}

.member-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 12px;
  color: #8f949e;
  font-size: 10px;
}

.member-profile-meta span + span::before {
  content: "·";
  margin-right: 14px;
  color: #555a64;
}

.member-profile-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.member-profile-actions .card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-color: #444852;
  color: #fff;
  background: #24272e;
}

.member-profile-actions .card-action.primary {
  border-color: var(--app-lime);
  color: #151619;
  background: var(--app-lime);
}

.member-overview-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.member-overview-stats button {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  min-height: 112px;
  align-content: center;
  padding: 20px;
  border: 1px solid #e5e5e1;
  border-radius: 12px;
  color: #1b1d21;
  background: #fff;
  text-align: left;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.member-overview-stats button:hover {
  border-color: #b8bdc6;
  transform: translateY(-2px);
}

.member-overview-stats span {
  align-self: center;
  font-size: 11px;
  font-weight: 800;
}

.member-overview-stats strong {
  grid-row: 1 / 3;
  grid-column: 2;
  align-self: center;
  font: 800 28px/1 Manrope, sans-serif;
}

.member-overview-stats em {
  color: #858a91;
  font-size: 9px;
  font-style: normal;
}

.member-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 58px;
}

.member-dashboard-section,
.member-content-section {
  min-width: 0;
}

.member-dashboard-section {
  padding: 26px;
  border: 1px solid #e7e7e3;
  border-radius: 14px;
  background: #fff;
}

.member-dashboard-wide {
  grid-column: 1 / -1;
}

.member-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.member-section-heading > div > span,
.member-page-head > div > span,
.settings-section-head > span {
  color: var(--app-blue);
  font: 800 8px/1 Manrope, sans-serif;
  letter-spacing: 0.16em;
}

.member-section-heading h2 {
  margin: 7px 0 0;
  color: #18191d;
  font-size: 21px;
  letter-spacing: -0.045em;
}

.member-section-heading > button,
.member-empty-compact > button:not(.card-action),
.member-representative-car button {
  padding: 5px 0;
  border: 0;
  color: #666c74;
  background: transparent;
  font-size: 10px;
  font-weight: 800;
}

.member-section-heading > button span,
.member-representative-car button span {
  margin-left: 5px;
  color: var(--app-blue);
  font-size: 15px;
}

.member-representative-car {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(260px, 1.1fr);
  min-height: 290px;
  overflow: hidden;
  border-radius: 11px;
  background: #f5f5f2;
}

.member-representative-image {
  display: block;
  min-height: 290px;
  background-color: #e6e7e2;
  background-image: var(--image);
  background-position: center;
  background-size: cover;
}

.member-representative-image.placeholder {
  display: grid;
  place-items: center;
  color: #8b8e94;
  background: #e9eae6;
  font: 800 14px/1 Manrope, sans-serif;
}

.member-representative-car > div {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 36px;
}

.member-representative-car small {
  color: var(--app-blue);
  font-size: 9px;
  font-weight: 800;
}

.member-representative-car h3 {
  margin: 10px 0 6px;
  font-size: 28px;
  letter-spacing: -0.055em;
}

.member-representative-car p {
  margin: 0 0 16px;
  color: #74787e;
  font-size: 11px;
}

.member-activity-list {
  display: grid;
  gap: 0;
}

.member-joined-preview {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.member-activity-card {
  position: relative;
  min-width: 0;
  border-bottom: 1px solid #ecece8;
}

.member-activity-card:last-child {
  border-bottom: 0;
}

.member-activity-card > a {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 13px;
  min-height: 98px;
  align-items: center;
  padding: 11px 0;
  color: #202227;
}

.member-activity-image {
  display: grid;
  width: 76px;
  aspect-ratio: 1;
  overflow: hidden;
  place-items: center;
  border-radius: 8px;
  color: #858a93;
  background-color: #efefec;
  background-image: var(--image);
  background-position: center;
  background-size: cover;
  font: 800 7px/1 Manrope, sans-serif;
}

.member-activity-image.text-post {
  background-image: none;
}

.member-activity-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.member-activity-copy small {
  color: var(--app-blue);
  font-size: 9px;
  font-weight: 800;
}

.member-activity-copy strong {
  overflow: hidden;
  font-size: 12px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-activity-copy em {
  color: #858a91;
  font-size: 9px;
  font-style: normal;
}

.member-empty-compact {
  display: grid;
  justify-items: start;
  gap: 7px;
  min-height: 158px;
  align-content: center;
  padding: 22px;
  border-radius: 10px;
  background: #f6f6f3;
}

.member-empty-compact.horizontal {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.member-empty-compact strong {
  font-size: 13px;
}

.member-empty-compact p {
  margin: 0;
  color: #7b8087;
  font-size: 10px;
  line-height: 1.65;
}

.member-page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  min-height: 196px;
  padding: 42px 0 36px;
  border-bottom: 1px solid #e8e8e4;
}

.member-page-head h1 {
  margin: 10px 0 8px;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: -0.065em;
}

.member-page-head p {
  margin: 0;
  color: #6e737a;
  font-size: 12px;
}

.member-page-count {
  font: 800 50px/1 Manrope, sans-serif;
}

.member-filter-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  margin: 22px 0;
  padding-bottom: 3px;
  scrollbar-width: none;
}

.member-filter-row::-webkit-scrollbar {
  display: none;
}

.member-filter-row .chip {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 15px;
}

.member-content-section {
  margin-top: 48px;
}

.member-content-section + .member-content-section {
  margin-top: 74px;
  padding-top: 54px;
  border-top: 1px solid #e8e8e4;
}

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

.member-content-grid .member-activity-card {
  overflow: hidden;
  border: 1px solid #e5e5e1;
  border-radius: 11px;
}

.member-content-grid .member-activity-card > a {
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
}

.member-content-grid .member-activity-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0;
}

.member-content-grid .member-activity-copy {
  padding: 15px 15px 17px;
}

.member-unsave {
  position: absolute;
  top: 10px;
  right: 10px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  color: #27292e;
  background: rgba(255, 255, 255, 0.92);
  font-size: 9px;
  font-weight: 800;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

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

.member-comment-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 20px;
  padding: 22px;
  border: 1px solid #e5e5e1;
  border-radius: 11px;
  background: #fff;
}

.member-comment-meta {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 10px;
  color: #858a91;
  font-size: 10px;
}

.member-comment-meta span {
  color: var(--app-blue);
  font-weight: 800;
}

.member-comment-parent {
  overflow: hidden;
  color: #24272c;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-comment-parent span {
  margin-left: 6px;
  color: var(--app-blue);
  font-size: 10px;
}

.member-comment-parent.unavailable {
  color: #858a91;
}

.member-comment-card p {
  grid-column: 1;
  margin: 0;
  color: #555b63;
  font-size: 12px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.member-comment-card > .card-action {
  grid-column: 2;
  grid-row: 2 / 4;
  align-self: center;
}

@media (max-width: 700px) {
  .member-comment-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .member-comment-card p,
  .member-comment-card > .card-action {
    grid-column: 1;
    grid-row: auto;
  }

  .member-comment-card > .card-action {
    justify-self: start;
  }
}

.garage-management-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.garage-management-card {
  overflow: hidden;
  border: 1px solid #e4e4e0;
  border-radius: 12px;
  background: #fff;
}

.garage-management-card.representative {
  border-color: #afb8f4;
  box-shadow: inset 0 0 0 1px #afb8f4;
}

.garage-management-image {
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 3;
  place-items: center;
  color: #898d94;
  background-color: #ededeb;
  background-image: var(--image);
  background-position: center;
  background-size: cover;
  font: 800 10px/1 Manrope, sans-serif;
}

.garage-management-body {
  padding: 17px;
}

.garage-management-body h3 {
  margin: 12px 0 6px;
  font-size: 17px;
  letter-spacing: -0.04em;
}

.garage-management-body > p {
  min-height: 18px;
  margin: 0;
  color: #73787f;
  font-size: 10px;
}

.garage-management-meta {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  color: #777c83;
  font-size: 9px;
}

.garage-management-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 17px;
}

.garage-management-actions .card-action {
  min-width: 0;
  min-height: 38px;
  padding: 0 8px;
  font-size: 9px;
}

.garage-management-actions .danger {
  color: #d44747;
}

.member-empty-large {
  display: grid;
  min-height: 420px;
  margin-top: 26px;
  place-items: center;
  align-content: center;
  padding: 40px;
  border: 1px dashed #cfd0cb;
  border-radius: 14px;
  text-align: center;
}

.member-empty-large > span {
  color: var(--app-blue);
  font: 800 9px/1 Manrope, sans-serif;
  letter-spacing: 0.16em;
}

.member-empty-large h2 {
  margin: 15px 0 8px;
  font-size: 26px;
  letter-spacing: -0.05em;
}

.member-empty-large p {
  max-width: 480px;
  margin: 0 0 21px;
  color: #757a81;
  font-size: 11px;
  line-height: 1.7;
}

.garage-photo-chip {
  position: relative;
  cursor: pointer;
}

.garage-photo-chip > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  color: #6e737a;
  font-size: 9px;
}

.garage-photo-chip input {
  width: 16px;
  height: 16px;
  margin-left: auto;
}

.profile-vehicle-hint {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 9px;
  background: #f5f5f2;
}

.profile-vehicle-hint > span {
  color: #777c83;
  font-size: 10px;
  font-weight: 700;
}

.profile-vehicle-hint > strong {
  font-size: 13px;
}

.profile-vehicle-hint > small {
  color: #8c9096;
  font-size: 9px;
}

.member-settings-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  margin: 30px 0 0;
}

.member-settings-list .settings-section {
  margin: 0;
  padding: 26px;
  border: 1px solid #e5e5e1;
  border-radius: 12px;
}

.member-settings-list .settings-section:first-child {
  grid-column: 1 / -1;
}

.settings-section-head h2 {
  margin: 8px 0 20px;
  font-size: 21px;
}

/* Public profile */
.cm-public-profile-route {
  width: min(1120px, calc(100% - 40px));
  padding: 18px 0 100px;
}

.public-profile-back {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  border-bottom: 1px solid #e9e9e6;
}

.public-profile-back button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  color: #676c73;
  background: transparent;
  font-size: 10px;
  font-weight: 800;
}

.public-profile-back button span {
  color: var(--app-blue);
  font-size: 15px;
}

.public-profile-hero {
  margin-top: 28px;
}

.public-profile-cover {
  height: 270px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 15% 15%, rgba(221, 255, 55, 0.35), transparent 26%),
    radial-gradient(circle at 85% 70%, rgba(66, 101, 245, 0.38), transparent 34%),
    #1b1e25;
  background-image: var(--image);
  background-position: center;
  background-size: cover;
}

.public-profile-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
  margin: -54px 34px 0;
}

.public-profile-avatar {
  display: grid;
  width: 112px;
  height: 112px;
  overflow: hidden;
  place-items: center;
  border: 5px solid #fff;
  border-radius: 50%;
  color: #17181b;
  background: var(--app-lime);
  font: 800 36px/1 Manrope, sans-serif;
}

.public-profile-copy {
  padding-bottom: 3px;
}

.public-profile-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.public-profile-name-row h1 {
  margin: 0;
  font-size: 31px;
  letter-spacing: -0.055em;
}

.public-profile-owner-badge {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--app-blue);
  background: var(--app-blue-soft);
  font-size: 9px;
  font-weight: 800;
}

.public-profile-copy > span {
  display: block;
  margin-top: 5px;
  color: #777c83;
  font-size: 10px;
}

.public-profile-copy > p {
  max-width: 640px;
  margin: 9px 0 0;
  color: #4e535a;
  font-size: 12px;
  line-height: 1.65;
}

.public-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.public-profile-tags span {
  padding: 6px 9px;
  border-radius: 7px;
  color: #555a61;
  background: #f2f2ef;
  font-size: 9px;
  font-weight: 700;
}

.public-profile-actions {
  display: flex;
  gap: 7px;
  padding-bottom: 2px;
}

.public-profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(600px, 100%);
  margin: 38px auto 0;
  padding: 20px 0;
  border-top: 1px solid #e8e8e4;
  border-bottom: 1px solid #e8e8e4;
}

.public-profile-stats > div {
  display: grid;
  gap: 5px;
  text-align: center;
}

.public-profile-stats > div + div {
  border-left: 1px solid #e8e8e4;
}

.public-profile-stats strong {
  font: 800 22px/1 Manrope, sans-serif;
}

.public-profile-stats span {
  color: #7e838a;
  font-size: 9px;
}

.public-profile-section {
  margin-top: 74px;
}

.public-garage-grid,
.public-profile-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.public-garage-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #e5e5e1;
  border-radius: 11px;
  background: #fff;
}

.public-garage-image {
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 3;
  place-items: center;
  color: #888d94;
  background-color: #ededeb;
  background-image: var(--image);
  background-position: center;
  background-size: cover;
  font: 800 9px/1 Manrope, sans-serif;
}

.public-garage-placeholder {
  background-image: none;
}

.public-garage-card > div:nth-child(2) {
  padding: 16px;
}

.public-garage-card span {
  color: var(--app-blue);
  font-size: 9px;
  font-weight: 800;
}

.public-garage-card h3 {
  margin: 8px 0 5px;
  font-size: 16px;
}

.public-garage-card p {
  margin: 0;
  color: #797e85;
  font-size: 10px;
}

.public-garage-representative {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #17181b;
  background: var(--app-lime);
  font-size: 8px;
}

.public-profile-post-card {
  display: block;
  overflow: hidden;
  border: 1px solid #e5e5e1;
  border-radius: 11px;
  color: #1b1d21;
  background: #fff;
}

.public-profile-post-image {
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 3;
  place-items: center;
  color: #888d94;
  background-color: #ededeb;
  background-image: var(--image);
  background-position: center;
  background-size: cover;
  font: 800 9px/1 Manrope, sans-serif;
}

.public-profile-post-image.text-post {
  background-image: none;
}

.public-profile-post-copy {
  display: grid;
  gap: 6px;
  padding: 15px;
}

.public-profile-post-copy small {
  color: var(--app-blue);
  font-size: 9px;
  font-weight: 800;
}

.public-profile-post-copy strong {
  overflow: hidden;
  font-size: 13px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-profile-post-copy em {
  color: #858a91;
  font-size: 9px;
  font-style: normal;
}

.public-profile-loading,
.public-profile-private {
  display: grid;
  min-height: 520px;
  place-items: center;
  align-content: center;
  text-align: center;
}

.public-profile-loading {
  gap: 13px;
  color: #656a71;
  font-size: 11px;
}

.public-profile-loading > span {
  width: 30px;
  height: 30px;
  border: 3px solid #e4e4df;
  border-top-color: var(--app-blue);
  border-radius: 50%;
  animation: detail-page-spin 0.8s linear infinite;
}

.public-profile-private > span {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 50%;
  background: #efefec;
  font: 800 24px/1 Manrope, sans-serif;
}

.public-profile-private h1 {
  margin: 22px 0 8px;
  font-size: 30px;
  letter-spacing: -0.055em;
}

.public-profile-private p {
  margin: 0 0 22px;
  color: #73787f;
  font-size: 11px;
}

.profile-user-link,
.profile-inline-target {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}

.profile-user-link:hover,
.profile-inline-target:hover {
  color: var(--app-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.profile-inline-target {
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.detail-article-head h1,
.detail-market-summary h1,
.member-page-head h1,
.public-profile-name-row h1 {
  overflow-wrap: anywhere;
}

/* Accessibility stabilization */
.cm-search-deck .global-search:focus-within {
  border-color: var(--app-blue);
  box-shadow: 0 0 0 3px rgba(66, 101, 245, 0.2);
}

.cm-body :is(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid rgba(66, 101, 245, 0.72);
  outline-offset: 3px;
}

.cm-member-panel {
  z-index: 100;
  visibility: hidden;
  pointer-events: none;
}

.cm-member-panel.is-open {
  visibility: visible;
  pointer-events: auto;
}

.cm-member-backdrop {
  z-index: 90;
}

body.member-panel-open .cm-mobile-nav {
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 900px) {
  .member-hub-nav {
    top: 130px;
  }

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

  .member-profile-actions {
    width: 100%;
  }

  .member-profile-actions .card-action {
    flex: 1;
  }

  .member-overview-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .member-content-grid,
  .garage-management-grid,
  .public-garage-grid,
  .public-profile-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-profile-summary {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .public-profile-actions {
    grid-column: 1 / -1;
    padding-left: 134px;
  }
}

@media (max-width: 700px) {
  .member-hub-nav {
    top: 114px;
    gap: 22px;
    min-height: 52px;
  }

  .member-hub-nav button {
    min-height: 52px;
    font-size: 12px;
  }

  .member-profile-hero {
    margin-top: 18px;
    padding: 25px 20px;
    border-radius: 13px;
  }

  .member-profile-identity {
    align-items: flex-start;
    gap: 16px;
  }

  .member-profile-avatar {
    width: 72px;
    height: 72px;
    font-size: 24px;
  }

  .member-profile-name h1 {
    font-size: 24px;
  }

  .member-profile-meta span + span::before {
    display: none;
  }

  .member-profile-meta {
    gap: 5px 10px;
  }

  .member-profile-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .member-overview-stats {
    gap: 8px;
  }

  .member-overview-stats button {
    min-height: 96px;
    padding: 15px;
  }

  .member-dashboard-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 42px;
  }

  .member-dashboard-wide {
    grid-column: auto;
  }

  .member-dashboard-section {
    padding: 19px;
  }

  .member-representative-car {
    grid-template-columns: 1fr;
  }

  .member-representative-image {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .member-representative-car > div {
    padding: 24px;
  }

  .member-representative-car h3 {
    font-size: 22px;
  }

  .member-joined-preview {
    grid-template-columns: 1fr;
  }

  .member-page-head {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 170px;
    padding: 30px 0;
  }

  .member-page-head h1 {
    font-size: 36px;
  }

  .member-page-head > .card-action {
    width: 100%;
  }

  .member-page-count {
    font-size: 36px;
  }

  .member-content-grid,
  .garage-management-grid,
  .public-garage-grid,
  .public-profile-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .member-settings-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .member-settings-list .settings-section:first-child {
    grid-column: auto;
  }

  .cm-public-profile-route {
    width: min(100% - 28px, 640px);
    padding-top: 4px;
  }

  .public-profile-cover {
    height: 190px;
    border-radius: 10px;
  }

  .public-profile-summary {
    grid-template-columns: 1fr;
    gap: 13px;
    align-items: start;
    margin: -45px 16px 0;
  }

  .public-profile-avatar {
    width: 90px;
    height: 90px;
    border-width: 4px;
    font-size: 29px;
  }

  .public-profile-copy {
    padding-top: 0;
  }

  .public-profile-name-row h1 {
    font-size: 27px;
  }

  .public-profile-actions {
    grid-column: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
  }

  .public-profile-actions .card-action {
    min-width: 0;
    padding: 0 8px;
  }

  .public-profile-stats {
    margin-top: 28px;
  }

  .public-profile-section {
    margin-top: 52px;
  }

  .cm-footer {
    display: block;
    padding-bottom: calc(94px + env(safe-area-inset-bottom));
  }

  .cm-footer-brand strong {
    font-size: 29px;
  }

  .cm-footer-brand span {
    font-size: 9px;
  }

  .cm-footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cm-body .chip,
  .cm-body .filter-button,
  .cm-search-submit {
    min-height: 44px;
  }
}

@media (max-width: 520px) {
  .member-profile-identity {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .member-profile-avatar {
    width: 64px;
    height: 64px;
  }

  .member-profile-identity p,
  .member-profile-meta {
    grid-column: 1 / -1;
  }

  .member-overview-stats,
  .member-content-grid,
  .garage-management-grid,
  .public-garage-grid,
  .public-profile-post-grid {
    grid-template-columns: 1fr;
  }

  .member-empty-compact.horizontal {
    grid-template-columns: 1fr;
  }

  .public-profile-back button:last-child {
    font-size: 0;
  }

  .public-profile-back button:last-child::before {
    content: "주소 복사";
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Standalone task pages */
.standalone-flow-route {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 34px 0 84px;
}

.standalone-flow-route.wide {
  width: min(1080px, 100%);
}

.standalone-flow-nav {
  margin-bottom: 16px;
}

.standalone-flow-nav button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  color: #656970;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
}

.standalone-flow-nav button span {
  color: var(--app-blue);
  font-size: 18px;
}

.standalone-flow-card {
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--app-line);
  border-radius: 14px;
  background: #fff;
}

.standalone-flow-head {
  margin-bottom: 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid #ecece8;
}

.standalone-flow-head > span,
.standalone-flow-empty > span {
  color: var(--app-blue);
  font: 800 10px/1 Manrope, sans-serif;
  letter-spacing: 0.14em;
}

.standalone-flow-head h1,
.standalone-flow-empty h1 {
  margin: 8px 0 0;
  color: var(--app-ink);
  font-size: clamp(27px, 4vw, 40px);
  letter-spacing: -0.055em;
}

.standalone-flow-body > .form-grid,
.standalone-flow-body > .comment-form,
.standalone-flow-body > .filter-sheet {
  width: 100%;
}

.standalone-flow-empty {
  padding: 80px 24px;
  border: 1px solid var(--app-line);
  border-radius: 14px;
  text-align: center;
  background: #fff;
}

.standalone-flow-empty p {
  margin: 12px auto 24px;
  color: #74787f;
}

.required-term-review-inline {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid #dfe2d5;
  border-radius: 10px;
  background: #fafbf7;
}

.required-term-review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

@media (max-width: 700px) {
  .standalone-flow-route {
    padding: 18px 0 58px;
  }

  .standalone-flow-card {
    padding: 22px 16px 28px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .standalone-flow-head {
    margin-bottom: 24px;
  }
}

/* Ohouse-inspired content hub: large discovery lead and long-form post pages. */
body.cm-body,
.cm-main {
  background: #fff;
}

.cm-home-shell {
  padding-top: 24px;
}

.cm-home-lead {
  display: grid;
  grid-template-columns: minmax(0, 2.02fr) minmax(300px, 0.98fr);
  gap: 12px;
  height: 500px;
}

.cm-home-lead-main,
.cm-home-lead-sub {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: 12px;
  color: #fff;
  background: #292b30;
}

.cm-home-lead-side {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.cm-home-lead-image,
.cm-home-lead-shade {
  position: absolute;
  inset: 0;
  display: block;
}

.cm-home-lead-image {
  background-color: #e9e9e5;
  background-image: var(--image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: transform 0.45s ease;
}

.cm-home-lead-main:hover .cm-home-lead-image,
.cm-home-lead-sub:hover .cm-home-lead-image {
  transform: scale(1.035);
}

.cm-home-lead-shade {
  display: none;
}

.cm-home-lead-copy {
  position: absolute;
  z-index: 1;
  right: 26px;
  bottom: 27px;
  left: 26px;
  display: grid;
  gap: 7px;
}

.cm-home-lead-copy small {
  width: max-content;
  padding: 5px 8px;
  border-radius: 6px;
  color: #101114;
  background: var(--app-lime);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.cm-home-lead-copy strong {
  overflow: hidden;
  max-width: 760px;
  font-size: clamp(25px, 2.7vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.055em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cm-home-lead-copy em {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-style: normal;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.72);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cm-home-lead-sub .cm-home-lead-copy {
  right: 20px;
  bottom: 20px;
  left: 20px;
  gap: 5px;
}

.cm-home-lead-sub .cm-home-lead-copy small {
  padding: 4px 7px;
  font-size: 8px;
}

.cm-home-lead-sub .cm-home-lead-copy strong {
  font-size: 19px;
}

.cm-home-lead-sub .cm-home-lead-copy em {
  font-size: 10px;
}

.cm-home-lead-fallback {
  background:
    radial-gradient(circle at 80% 12%, rgba(221, 255, 55, 0.32), transparent 30%),
    linear-gradient(135deg, #16181d, #343b52);
}

.cm-home-paths {
  margin-top: 34px;
  padding: 24px 0 28px;
  border-bottom: 1px solid #ededeb;
}

.cm-home-paths-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 17px;
}

.cm-home-paths-head strong {
  font-size: 20px;
  letter-spacing: -0.045em;
}

.cm-home-paths-head span,
.section-title-row > div > p {
  margin: 7px 0 0;
  color: #85888e;
  font-size: 11px;
}

.cm-home-paths .quick-grid {
  gap: 28px;
}

.cm-home-paths .quick-tile {
  grid-template-columns: 52px minmax(0, 1fr);
  min-height: 72px;
  padding: 4px;
  border: 0;
  border-radius: 10px;
}

.cm-home-paths .quick-tile:last-child {
  border: 0;
}

.cm-home-paths .quick-tile::after {
  display: none;
}

.cm-home-paths .quick-tile:hover {
  box-shadow: none;
  transform: translateY(-2px);
}

.cm-home-paths .quick-icon {
  width: 48px;
  height: 48px;
  padding: 11px;
  border-radius: 16px;
  background: #f3f5ea;
}

.cm-home-paths .quick-tile:nth-child(2) .quick-icon {
  background: #edf1ff;
}

.cm-home-paths .quick-tile:nth-child(3) .quick-icon {
  background: #fff1e9;
}

.cm-home-paths .quick-tile:nth-child(4) .quick-icon {
  background: #edf6f5;
}

.cm-home-paths .quick-tile strong {
  font-size: 14px;
}

.cm-home-paths .quick-tile > span:last-child {
  font-size: 9px;
}

.cm-home-editorial {
  grid-template-columns: minmax(0, 1fr);
  gap: 56px;
  margin-top: 64px;
}

.cm-home-showcase-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.cm-home-showcase-grid .card-media {
  aspect-ratio: 4 / 3;
}

.cm-home-showcase-grid .content-card,
.cm-home-market-grid .line-card,
.cm-home-meetups .content-card {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.cm-home-showcase-grid .card-media,
.cm-home-market-grid .line-thumb,
.cm-home-meetups .card-media {
  overflow: hidden;
  border-radius: 9px;
  background-image: var(--image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.cm-community-digest {
  padding: 26px 28px;
  border: 0;
  border-radius: 14px;
  background: #f7f7f5;
}

.cm-community-digest > .list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 36px;
}

.cm-community-digest .line-card,
.cm-community-digest .line-card.text-only {
  min-height: 58px;
  border-bottom-color: #e5e5e1;
}

.cm-community-digest .line-card:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.cm-home-campaign,
.cm-market-now,
.cm-home-meetups {
  margin-top: 72px;
}

.cm-home-campaign .banner-viewport,
.cm-home-campaign .banner-slide {
  min-height: 214px;
  border-radius: 12px;
}

.cm-home-market-grid {
  gap: 18px;
}

.cm-home-market-grid .line-card {
  overflow: visible;
}

.cm-home-market-grid .line-main,
.cm-home-market-grid .price {
  padding-right: 2px;
  padding-left: 2px;
}

.cm-home-meetups .cm-meetup-grid {
  gap: 18px;
}

.cm-drive-note {
  margin-top: 72px;
  border-radius: 12px;
}

/* Long-form detail pages */
.cm-detail-route {
  width: min(1120px, calc(100% - 40px));
  padding: 18px 0 100px;
}

.detail-page-nav {
  min-height: 44px;
  margin-bottom: 18px;
  border-bottom: 1px solid #ededeb;
}

.detail-page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #9a9ca1;
  font-size: 11px;
}

.detail-page-breadcrumb button,
.detail-page-breadcrumb strong {
  overflow: hidden;
  color: inherit;
  font-size: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-page-breadcrumb strong {
  color: #45484d;
}

.detail-page-card,
.detail-page-card.detail-page-document {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.detail-article-head {
  width: min(900px, 100%);
  margin: 46px auto 34px;
}

.detail-article-kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--app-blue);
  font-size: 13px;
  font-weight: 800;
}

.detail-article-head h1,
.detail-market-summary h1 {
  margin: 0;
  color: #17181b;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.22;
  letter-spacing: -0.06em;
  word-break: keep-all;
}

.detail-article-byline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}

.detail-author {
  display: flex;
  align-items: center;
  gap: 11px;
}

.detail-author-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  color: #fff;
  background: #25282e;
  font-size: 15px;
  font-weight: 800;
}

.detail-author-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-author > span:last-child {
  display: grid;
  gap: 3px;
}

.detail-author strong {
  font-size: 13px;
}

.detail-author small {
  color: #8c8f94;
  font-size: 10px;
}

.detail-hero-image {
  width: 100%;
  min-height: 660px;
  border-radius: 8px;
  background-color: #eee;
  background-image: var(--image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.detail-reading-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 240px;
  gap: 64px;
  width: min(1064px, 100%);
  margin: 56px auto 0;
}

.detail-reading-body {
  min-width: 0;
}

.detail-reading-aside {
  position: sticky;
  top: 150px;
  align-self: start;
  padding: 20px;
  border: 1px solid #e4e4e0;
  border-radius: 12px;
  background: #fff;
}

.detail-reading-aside .detail-actions {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 16px;
}

.detail-reading-aside .card-action {
  width: 100%;
}

.detail-actions .reaction-action.active {
  border-color: var(--app-blue);
  color: #fff;
  background: var(--app-blue);
}

.detail-actions .reaction-action[disabled] {
  cursor: wait;
  opacity: 0.62;
}

.detail-content-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.detail-content-menu .card-action {
  min-height: 36px;
  padding: 0 12px;
  font-size: 10px;
}

.detail-fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 42px;
}

.detail-fact-row > span {
  padding: 8px 11px;
  border-radius: 7px;
  color: #4d5157;
  background: #f4f4f1;
  font-size: 11px;
  font-weight: 700;
}

.detail-story h2,
.detail-page-card > .section .section-title-row h2 {
  margin: 0 0 22px;
  font-size: 24px;
  letter-spacing: -0.045em;
}

.detail-story p {
  margin: 0;
  color: #36393e;
  font-size: 16px;
  line-height: 2.05;
  white-space: pre-wrap;
  word-break: break-word;
}

.detail-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.detail-stats span {
  display: grid;
  gap: 4px;
  text-align: center;
}

.detail-stats small,
.detail-capacity-label {
  color: #909399;
  font-size: 9px;
}

.detail-stats strong {
  font: 800 14px/1.2 Manrope, sans-serif;
}

.detail-page-card > .section {
  width: min(760px, 100%);
  margin: 68px auto 0;
  padding-top: 36px;
}

.detail-page-card .comment-item {
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid #ededeb;
  border-radius: 0;
  background: transparent;
}

.comment-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.comment-item-actions button {
  padding: 0;
  border: 0;
  color: #8b8e94;
  background: transparent;
  font-size: 10px;
  font-weight: 700;
}

.comment-item-actions button:hover {
  color: var(--app-blue);
}

.blocked-user-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.blocked-user-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid #e6e6e2;
  border-radius: 12px;
  background: #fff;
}

.blocked-user-item > div {
  display: grid;
  gap: 5px;
}

.blocked-user-item strong {
  font-size: 14px;
}

.blocked-user-item span {
  color: #8b8e94;
  font-size: 10px;
}

.detail-page-card .comment-form textarea {
  min-height: 96px;
  background: #fafafa;
}

.detail-market-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.55fr);
  gap: 48px;
  padding-top: 24px;
}

.detail-market-gallery .detail-image {
  min-height: 660px;
  border-radius: 8px;
  background-color: #eee;
  background-image: var(--image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.detail-photo-note {
  margin-top: 9px;
  color: #92959a;
  font-size: 9px;
  text-align: right;
}

.detail-market-summary {
  position: sticky;
  top: 146px;
  align-self: start;
  padding-top: 24px;
}

.detail-market-summary h1 {
  margin-top: 15px;
  font-size: 32px;
}

.detail-market-summary > .price {
  display: block;
  margin-top: 15px;
  color: #17181b;
  font-size: 28px;
}

.detail-market-info {
  display: grid;
  gap: 0;
  margin: 28px 0 24px;
  padding: 14px 0;
  border-top: 1px solid #ededeb;
  border-bottom: 1px solid #ededeb;
}

.detail-market-info > span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
}

.detail-market-info small {
  color: #85888e;
  font-size: 10px;
}

.detail-market-info strong {
  font-size: 11px;
}

.detail-market-summary > .detail-author {
  margin-bottom: 20px;
}

.detail-market-summary .detail-actions {
  display: grid;
  grid-template-columns: 1fr;
}

.detail-market-description {
  width: min(760px, 100%);
  margin: 64px 0 0;
  padding-top: 38px;
  border-top: 1px solid #ededeb;
}

.detail-meetup-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.detail-meetup-facts > span {
  display: grid;
  gap: 6px;
  min-height: 68px;
  align-content: center;
}

.detail-meetup-facts small {
  color: #96999d;
  font-size: 9px;
}

.detail-capacity {
  display: block;
  margin-top: 7px;
  font: 800 30px/1 Manrope, sans-serif;
}

.detail-capacity small {
  color: #8a8d92;
  font-size: 13px;
}

.detail-meetup-policy {
  margin-bottom: 20px;
}

.meetup-membership-notice {
  margin: 14px 0 0;
  padding: 12px 13px;
  border-radius: 8px;
  color: #69510b;
  background: #fff8d9;
  font-size: 11px;
  line-height: 1.6;
}

.meetup-join-question-form,
.meetup-join-question-form label {
  display: grid;
  gap: 9px;
}

.meetup-join-question-form {
  grid-column: 1 / -1;
}

.meetup-join-question-form label > span,
.meetup-join-question-form label > small {
  color: #878a90;
  font-size: 10px;
}

.meetup-join-question-form label > strong {
  color: var(--app-ink);
  font-size: 12px;
  line-height: 1.55;
}

.meetup-join-question-form textarea {
  width: 100%;
  min-height: 96px;
  padding: 11px 12px;
  border: 1px solid var(--app-line);
  border-radius: 9px;
  resize: vertical;
  color: var(--app-ink);
  background: #fff;
}

.meetup-participant-section .section-title-row > span {
  color: #85888e;
  font-size: 11px;
}

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

.meetup-participant-item {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid #e7e7e3;
  border-radius: 10px;
  background: #fff;
}

.meetup-participant-item > div:first-child,
.meetup-participant-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.meetup-participant-item p {
  display: grid;
  gap: 5px;
  margin: 0;
  color: #45484d;
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.meetup-participant-item p small {
  color: #8a8d92;
  font-size: 9px;
  font-weight: 800;
}

.meetup-board-section .section-title-row > span {
  color: #85888e;
  font-size: 11px;
}

.meetup-board-list {
  border-top: 1px solid #e8e8e4;
}

.meetup-board-post {
  border-bottom: 1px solid #e8e8e4;
}

.meetup-board-post summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 16px 4px;
  cursor: pointer;
  list-style: none;
}

.meetup-board-post summary::-webkit-details-marker {
  display: none;
}

.meetup-board-post summary > strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.meetup-board-post summary > small {
  color: #8c8f94;
  font-size: 9px;
}

.meetup-board-post-body {
  padding: 4px 4px 18px;
}

.meetup-board-post-body > p {
  margin: 0 0 16px;
  color: #3f4247;
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
}

.meetup-board-write {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #ededeb;
}

.meetup-board-locked {
  padding: 28px 22px;
  border: 1px dashed #d9d9d4;
  border-radius: 10px;
  text-align: center;
  background: #fafaf8;
}

.meetup-board-locked strong {
  font-size: 13px;
}

.meetup-board-locked p {
  margin: 7px 0 0;
  color: #82858b;
  font-size: 11px;
}

@media (max-width: 700px) {
  .meetup-board-post summary {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .meetup-board-post summary > small {
    grid-column: 2;
  }
}

.detail-reading-text-only {
  margin-top: 20px;
}

.detail-community-story {
  min-height: 280px;
  padding-top: 32px;
  border-top: 1px solid #ededeb;
}

.detail-route-aside > strong {
  font-size: 13px;
}

.detail-route-aside > p {
  margin: 9px 0 18px;
  color: #777a80;
  font-size: 11px;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .cm-home-lead {
    grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.85fr);
    height: 440px;
  }

  .cm-home-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-reading-layout {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 34px;
  }

  .detail-market-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 30px;
  }

  .detail-hero-image,
  .detail-market-gallery .detail-image {
    min-height: 540px;
  }
}

@media (max-width: 700px) {
  .cm-home-shell {
    padding-top: 12px;
  }

  .home-notice-strip,
  .cm-home-hero .home-notice-strip {
    margin-bottom: 12px;
  }

  .cm-home-lead {
    display: block;
    height: auto;
  }

  .cm-home-lead-main {
    min-height: 390px;
    border-radius: 10px;
  }

  .cm-home-lead-side {
    display: none;
  }

  .cm-home-lead-copy {
    right: 18px;
    bottom: 20px;
    left: 18px;
  }

  .cm-home-lead-copy strong {
    font-size: 26px;
    white-space: normal;
  }

  .cm-home-paths {
    margin-top: 18px;
    padding: 20px 0;
  }

  .cm-home-paths-head {
    display: grid;
    gap: 0;
  }

  .cm-home-paths-head strong {
    font-size: 17px;
  }

  .cm-home-paths .quick-grid {
    gap: 12px 8px;
  }

  .cm-home-paths .quick-tile,
  .cm-home-paths .quick-tile:nth-child(2),
  .cm-home-paths .quick-tile:nth-child(-n + 2) {
    grid-template-columns: 42px minmax(0, 1fr);
    border: 0;
  }

  .cm-home-paths .quick-icon {
    width: 40px;
    height: 40px;
    padding: 9px;
    border-radius: 13px;
  }

  .cm-home-paths .quick-tile strong {
    font-size: 12px;
  }

  .cm-home-editorial {
    gap: 44px;
    margin-top: 46px;
  }

  .cm-home-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cm-community-digest {
    padding: 20px 16px;
  }

  .cm-community-digest > .list-grid {
    grid-template-columns: 1fr;
  }

  .cm-community-digest .line-card:nth-last-child(-n + 2) {
    border-bottom: 1px solid #e5e5e1;
  }

  .cm-community-digest .line-card:last-child {
    border-bottom: 0;
  }

  .cm-home-campaign,
  .cm-market-now,
  .cm-home-meetups,
  .cm-drive-note {
    margin-top: 52px;
  }

  .cm-detail-route {
    width: min(100% - 28px, 640px);
    padding-top: 5px;
  }

  .detail-page-nav {
    margin-bottom: 6px;
  }

  .detail-page-breadcrumb button:first-child,
  .detail-page-breadcrumb span:first-of-type {
    display: none;
  }

  .detail-page-nav > a {
    font-size: 9px;
  }

  .detail-article-head {
    margin: 30px auto 24px;
  }

  .detail-article-kicker {
    margin-bottom: 12px;
    font-size: 11px;
  }

  .detail-article-head h1,
  .detail-market-summary h1 {
    font-size: 30px;
  }

  .detail-article-byline {
    margin-top: 20px;
  }

  .detail-author-avatar {
    width: 38px;
    height: 38px;
  }

  .detail-hero-image,
  .detail-market-gallery .detail-image {
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
  }

  .detail-reading-layout,
  .detail-market-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 34px;
    padding-top: 0;
  }

  .detail-reading-aside,
  .detail-market-summary {
    position: static;
    order: -1;
  }

  .detail-reading-aside {
    padding: 16px;
  }

  .detail-reading-body {
    order: 1;
  }

  .detail-reading-aside .detail-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-story h2,
  .detail-page-card > .section .section-title-row h2 {
    margin-bottom: 16px;
    font-size: 20px;
  }

  .detail-story p {
    font-size: 14px;
    line-height: 1.9;
  }

  .detail-page-card > .section {
    margin-top: 48px;
    padding-top: 28px;
  }

  .detail-market-summary {
    padding-top: 0;
  }

  .detail-market-description {
    margin-top: 44px;
  }

  .detail-meetup-facts {
    grid-template-columns: 1fr;
  }

  .detail-meetup-facts > span {
    min-height: 54px;
  }

  .detail-reading-text-only {
    margin-top: 0;
  }
}

@media (max-width: 420px) {
  .cm-home-lead-main {
    min-height: 340px;
  }

  .cm-home-showcase-grid,
  .cm-home-market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-article-head h1,
  .detail-market-summary h1 {
    font-size: 27px;
  }
}

/* Final responsive and accessibility overrides. */
.cm-skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  padding: 11px 15px;
  border-radius: 8px;
  color: #fff;
  background: #17181b;
  font-size: 12px;
  font-weight: 800;
  transform: translateY(-160%);
}

.cm-skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

@media (max-width: 700px) {
  .cm-home-lead-side {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin-top: 10px;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .cm-home-lead-side::-webkit-scrollbar {
    display: none;
  }

  .cm-home-lead-sub {
    flex: 0 0 min(78vw, 360px);
    min-height: 210px;
    scroll-snap-align: start;
  }
}

@media (pointer: coarse) {
  .cm-header-actions button,
  .public-profile-back button,
  .garage-management-actions .card-action,
  .member-unsave,
  .member-section-heading > button,
  .member-empty-compact > button:not(.card-action),
  .member-representative-car button {
    min-height: 44px;
  }
}

/* Production data states and bulletin-board usability. */
.public-data-state {
  display: grid;
  min-height: 52vh;
  place-items: center;
  align-content: center;
  gap: 12px;
  text-align: center;
}

.public-data-state h1,
.public-data-state p {
  margin: 0;
}

.public-data-state h1 {
  font-size: clamp(24px, 4vw, 38px);
  letter-spacing: -0.05em;
}

.public-data-state p {
  max-width: 560px;
  color: #73777e;
  line-height: 1.7;
}

.public-data-state > span:not(.public-data-spinner) {
  color: #d44848;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.public-data-spinner {
  width: 34px;
  height: 34px;
  border: 3px solid #e7e8e3;
  border-top-color: var(--app-blue);
  border-radius: 50%;
  animation: public-data-spin 0.8s linear infinite;
}

@keyframes public-data-spin {
  to { transform: rotate(360deg); }
}

.community-board-toolbar {
  justify-content: space-between;
}

.community-board-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.community-board-tools > span {
  color: #7e8289;
  font-size: 11px;
  font-weight: 700;
}

.community-board-tools .select {
  min-width: 106px;
}

.community-query-state {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  padding: 11px 14px;
  border: 1px solid #dfe4f1;
  border-radius: 9px;
  color: #535861;
  background: #f6f8fd;
  font-size: 12px;
}

.community-query-state button {
  padding: 0;
  border: 0;
  color: var(--app-blue);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}

.board-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 24px;
}

.board-pagination button {
  min-width: 38px;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid #dedfda;
  border-radius: 7px;
  color: #555a62;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
}

.board-pagination button.active {
  border-color: var(--app-blue);
  color: #fff;
  background: var(--app-blue);
}

.board-pagination button:disabled {
  cursor: default;
  opacity: 0.38;
}

.detail-page-links {
  display: flex;
  align-items: center;
  gap: 13px;
}

.detail-sequence-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px;
  width: min(900px, 100%);
  margin: 72px auto 0;
  padding-top: 24px;
  border-top: 1px solid #e6e6e1;
}

.detail-sequence-nav > a,
.detail-sequence-nav > span,
.detail-sequence-nav > button {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid #e4e4df;
  border-radius: 9px;
  color: #25282d;
  background: #fff;
  text-align: left;
}

.detail-sequence-nav > button {
  align-content: center;
  color: var(--app-blue);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.detail-sequence-nav > a:last-child,
.detail-sequence-nav > span:last-child {
  text-align: right;
}

.detail-sequence-nav span span,
.detail-sequence-nav a span {
  color: #92959b;
  font-size: 9px;
  font-weight: 800;
}

.detail-sequence-nav strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-sequence-nav > .disabled {
  opacity: 0.5;
}

.comment-author-meta {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.comment-author-meta time {
  color: #a0a2a7;
  font-size: 9px;
}

.comment-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.comment-form-footer > span {
  color: #a0a2a7;
  font-size: 9px;
}

.comment-login-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid #e4e4df;
  border-radius: 9px;
  color: #686c73;
  background: #fafaf8;
  font-size: 11px;
}

.partial-data-warning {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 1px solid #eadfbe;
  border-radius: 9px;
  color: #5e4b18;
  background: #fffaf0;
}

.partial-data-warning > div {
  display: grid;
  gap: 4px;
}

.partial-data-warning strong {
  font-size: 12px;
}

.partial-data-warning span {
  color: #7f6b35;
  font-size: 10px;
}

.public-load-more {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.public-load-more .card-action {
  min-width: 190px;
}

.search-load-more {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.search-group-empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed #deded8;
  border-radius: 9px;
  color: #777b82;
  background: #fafaf8;
  font-size: 11px;
  text-align: center;
}

@media (max-width: 700px) {
  .community-board-tools {
    width: 100%;
    justify-content: space-between;
  }

  .community-board-tools .select {
    min-height: 40px;
  }

  .board-pagination button {
    min-width: 36px;
    min-height: 40px;
  }

  .detail-page-links button {
    display: none;
  }

  .detail-sequence-nav {
    grid-template-columns: 1fr 1fr;
    margin-top: 48px;
  }

  .detail-sequence-nav > button {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .comment-login-prompt {
    align-items: stretch;
    flex-direction: column;
  }

  .partial-data-warning {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-data-spinner { animation-duration: 1.8s; }
}
