.community-post-page {
  min-width: 768px;
  height: 100vh;
  height: 100dvh;
  margin: 0;
  overflow: hidden;
  color: var(--neutral-tx2-title);
  background: var(--badge-alpha-b-60);
  font-family: var(--font-family-base);
}

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

.community-post__detail,
.community-post__detail * {
  box-sizing: border-box;
}

.community-post {
  display: flex;
  box-sizing: border-box;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
}

.community-post__card {
  display: flex;
  width: fit-content;
  max-width: calc(100vw - 40px);
  min-height: 300px;
}

.community-post__card--3-4 {
  height: min(580px, calc(100dvh - 40px));
}

.community-post__card--9-16 {
  height: min(800px, calc(100dvh - 40px));
}

.community-post__card--16-9 {
  height: min(648px, calc(100dvh - 160px), calc((100vw - 700px) * 0.5625));
}

.community-post__card--4-3 {
  height: min(683px, calc(100dvh - 40px), calc((100vw - 700px) * 0.75));
}

.community-post__media {
  position: relative;
  height: 100%;
  flex: 0 0 auto;
  overflow: hidden;
  border: var(--stroke-1) solid var(--neutral-tx2-title);
  border-right: 0;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  background: var(--neutral-tx1-hero);
}

.community-post__media--3-4 {
  min-width: 225px;
  aspect-ratio: 3 / 4;
}

.community-post__media--9-16 {
  min-width: 169px;
  aspect-ratio: 9 / 16;
}

.community-post__media--16-9 {
  min-width: 534px;
  aspect-ratio: 16 / 9;
}

.community-post__media--4-3 {
  min-width: 400px;
  aspect-ratio: 4 / 3;
}

.community-post__swiper,
.community-post__swiper .swiper-wrapper,
.community-post__swiper .swiper-slide {
  width: 100%;
  height: 100%;
}

.community-post__swiper.is-fallback .swiper-wrapper {
  display: flex;
  transition: transform 350ms ease;
}

.community-post__swiper.is-fallback .swiper-slide {
  flex: 0 0 100%;
}

.community-post__swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--neutral-tx1-hero);
}

.community-post__media-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-post__media-control {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: inline-flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
  transition: background-color 150ms ease;
}

.community-post__media-control:hover {
  background: var(--badge-alpha-w-20);
}

.community-post__media-control--prev {
  left: var(--spacing-sm);
}

.community-post__media-control--next {
  right: var(--spacing-sm);
}

.community-post__media-control img {
  width: 15px;
  height: 30px;
}

.community-post__media-control--next img {
  transform: rotate(180deg);
}

.community-post__media-control.swiper-button-disabled {
  opacity: 0;
  pointer-events: none;
}

.community-post__sound {
  position: absolute;
  z-index: 3;
  right: var(--spacing-lg);
  bottom: 19px;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: var(--radius-full);
  background: var(--badge-alpha-b-20);
  cursor: pointer;
}

.community-post__sound img {
  width: 18px;
  /* height: 12px; */
}

.community-post__sound.is-muted img {
  width: 23px;
  height: 16px;
}

.community-post__pagination.swiper-pagination {
  z-index: 2;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-lg);
}

.community-post__pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  background: var(--semantic-white);
  opacity: 0.5;
}

.community-post__pagination .swiper-pagination-bullet-active {
  background: var(--semantic-white);
  opacity: 1;
}

.community-post__pagination button {
  padding: 0;
  border: 0;
  cursor: pointer;
}

.community-post__detail {
  display: flex;
  width: 600px;
  min-width: 240px;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: var(--stroke-1) solid var(--neutral-tx2-title);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background: var(--semantic-white);
}

.community-post__outside-controls {
  display: flex;
  width: 80px;
  height: 100%;
  max-height: 900px;
  flex: 0 0 80px;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding-left: var(--spacing-lg);
}

.community-post__close,
.community-post__scroll-button {
  display: inline-flex;
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  cursor: pointer;
  transition: background-color 150ms ease;
}

.community-post__close img {
  width: 25px;
  filter: brightness(0) invert(1);
}

.community-post__scroll-controls {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.community-post__scroll-button:hover {
  background: var(--badge-alpha-w-20);
}

.community-post__scroll-button img {
  width: 15px;
  filter: brightness(0) invert(1);
}

.community-post__scroll-button--up img {
  transform: rotate(90deg);
}

.community-post__scroll-button--down img {
  transform: rotate(90deg);
}

.community-post__scroll {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  scrollbar-color: transparent transparent;
  scrollbar-width: thin;
}

.community-post__meta {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  padding: var(--spacing-xl) var(--spacing-lg);
}

.community-post__author-row,
.community-post__author,
.community-post__upload,
.community-post__review-main,
.community-post__review-title,
.community-post__rating,
.community-post__review-tag,
.community-post__addition-item,
.community-post__stats,
.community-post__stats-group,
.community-post__stat,
.community-post__comment-head,
.community-post__comment-user,
.community-post__comment-actions,
.community-post__comment-actions span,
.community-post__comment-like,
.community-post__comment-share,
.community-post__input {
  display: flex;
  align-items: center;
}

.community-post__author-row,
.community-post__stats {
  justify-content: space-between;
}

.community-post__author-row {
  gap: var(--spacing-sm);
}

.community-post__author {
  min-width: 90px;
  gap: var(--spacing-sm);
}

.community-post__avatar {
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  overflow: hidden;
  border: var(--stroke-1) solid var(--semantic-border-hover);
  border-radius: var(--radius-full);
  background: var(--semantic-border);
}

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

.community-post__author-name,
.community-post__comment-user {
  overflow: hidden;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-20);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-post__account-badge {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
}

.community-post__account-badge img {
  width: 11px;
  height: 12px;
  object-fit: contain;
}

.community-post__account-badge.is-company {
  background: linear-gradient(180deg, var(--semantic-border), var(--semantic-input-border));
}

.community-post__account-badge.is-company img {
  width: 12px;
  height: 11px;
}

.community-post__account-badge.is-planner {
  background: linear-gradient(180deg, var(--brand-primary), var(--brand-primary-dark));
}

.community-post__follow {
  padding: 0;
  border: 0;
  color: var(--brand-primary);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.community-post__modified-badge {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-micro) var(--spacing-2xs);
  border: var(--stroke-1) solid var(--semantic-border);
  border-radius: var(--radius-full);
  color: var(--neutral-tx3-sub);
  background: var(--semantic-bg);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-16);
  white-space: nowrap;
}

.community-post__author-row.is-owner .community-post__follow,
.community-post__author-row.is-owner .community-post__follow+.community-post__dot,
.community-post__author-row.has-followed .community-post__follow,
.community-post__author-row.has-followed .community-post__follow+.community-post__dot {
  display: none;
}

.community-post__upload {
  flex: 0 0 auto;
  gap: var(--spacing-2xs);
  color: var(--neutral-tx3-sub);
  font-size: var(--font-size-base);
  line-height: var(--line-height-20);
}

.community-post__dot::before {
  content: "";
  display: block;
  width: 3px;
  height: 3px;
  border-radius: var(--radius-full);
  background: var(--neutral-tx4-dissolved);
}

.community-post__icon-button,
.community-post__bookmark {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.community-post__icon-button img {
  width: 16px;
}

.community-post__more-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-micro);
}

.community-post__icon-button .community-post__more-icon img {
  width: 2px;
  height: 2px;
}

.community-post__review {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  padding-left: var(--spacing-2xl);
}

.community-post__review.is-adopted {
  flex-direction: column;
  align-items: stretch;
  gap: var(--spacing-sm);
  padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-lg) var(--spacing-2xl);
  background: var(--semantic-border);
}

.community-post__review-reward,
.community-post__review-point {
  display: flex;
  align-items: center;
}

.community-post__review-reward {
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.community-post__review-point {
  flex: 0 0 auto;
  gap: var(--spacing-3xs);
  padding: var(--spacing-2xs) var(--spacing-md);
  border-radius: var(--radius-full);
  color: var(--semantic-white);
  background: var(--brand-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-20);
  white-space: nowrap;
}

.community-post__review-point img {
  width: 18px;
  height: 18px;
}

.community-post__review-description {
  min-width: 160px;
  flex: 1 1 auto;
  color: var(--neutral-tx3-sub);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-16);
}

.community-post__review-main {
  box-sizing: border-box;
  width: 100%;
  min-width: 150px;
  justify-content: space-between;
  gap: var(--spacing-sm);
  padding: var(--spacing-2xs) var(--spacing-md);
  border-radius: var(--radius-full);
  color: var(--semantic-white);
  background: var(--badge-alpha-b-60);
  font-size: var(--font-size-base);
  line-height: var(--line-height-20);
}

.community-post__review-title {
  min-width: 0;
  gap: var(--spacing-3xs);
}

.community-post__review-title img {
  width: 15px;
}

.community-post__rating {
  flex: 0 0 auto;
  gap: var(--spacing-2xs);
}

.community-post__rating img {
  width: 14px;
}

.community-post__title,
.community-post__copy,
.community-post__addition,
.community-post__stats {
  margin-left: var(--spacing-2xl);
}

.community-post__title {
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-22);
}

.community-post__copy {
  font-size: var(--font-size-base);
  line-height: var(--line-height-20);
}

.community-post__copy p {
  margin: 0;
}

.community-post__mention {
  color: var(--brand-primary);
  font: inherit;
  text-decoration: none;
}

.community-post__mention:hover,
.community-post__mention:focus-visible {
  color: var(--brand-primary-dark);
  text-decoration: underline;
}

.community-post__hashtags {
  padding-top: var(--spacing-lg);
  color: var(--neutral-tx3-sub);
}

.community-post__addition {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-base);
  color: var(--neutral-tx3-sub);
  font-size: var(--font-size-base);
}

.community-post__addition-item {
  gap: var(--spacing-2xs);
}

.community-post__addition-item img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.community-post__stats {
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  color: var(--neutral-tx3-sub);
  font-size: var(--font-size-base);
}

.community-post__stats-group {
  flex-wrap: wrap;
  gap: var(--spacing-lg);
}

.community-post__stat {
  gap: var(--spacing-3xs);
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.community-post__stat img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.community-post__bookmark {
  width: 18px;
  height: 24px;
}

.community-post__bookmark img {
  width: 14px;
}

.community-post__bookmark .community-post__bookmark-icon--active {
  display: none;
  width: 18px;
}

.community-post__bookmark.is-active .community-post__bookmark-icon--default {
  display: none;
}

.community-post__bookmark.is-active .community-post__bookmark-icon--active {
  display: block;
}

.community-post__comments {
  border-top: var(--stroke-1) dashed var(--semantic-border);
}

.community-post__comment {
  padding: var(--spacing-lg);
  border-bottom: var(--stroke-1) solid var(--semantic-border);
}

.community-post__comment-head {
  justify-content: space-between;
  gap: var(--spacing-sm);
}

.community-post__comment-user {
  min-width: 0;
  gap: var(--spacing-sm);
}

.community-post__comment-time {
  color: var(--neutral-tx3-sub);
  font-weight: var(--font-weight-regular);
}

.community-post__comment-content {
  position: relative;
  margin: var(--spacing-sm) 0 0 var(--spacing-md);
  padding-left: var(--spacing-lg);
  border-left: var(--stroke-1) solid var(--semantic-border);
}

.community-post__comment-body {
  margin: 0;
  font-size: var(--font-size-base);
  line-height: var(--line-height-20);
}

.community-post__comment-actions {
  flex-wrap: wrap;
  gap: var(--spacing-sm) var(--spacing-lg);
  margin-top: var(--spacing-sm);
  color: var(--neutral-tx3-sub);
  font-size: var(--font-size-base);
}

.community-post__comment-actions span {
  gap: var(--spacing-3xs);
}

.community-post__comment-like {
  gap: var(--spacing-3xs);
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.community-post__comment-share {
  gap: var(--spacing-3xs);
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.community-post__comment-actions img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.community-post__comment-actions button {
  padding: 0;
  border: 0;
  color: var(--neutral-tx2-title);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.community-post__comment-actions .community-post__comment-like,
.community-post__comment-actions .community-post__comment-share {
  color: inherit;
}

.community-post__comments-more {
  display: block;
  min-height: 60px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  border: 0;
  color: var(--neutral-tx2-title);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.community-post__composer {
  flex: 0 0 auto;
  padding: var(--spacing-lg);
  border-top: var(--stroke-1) solid var(--semantic-border);
  background: var(--semantic-white);
}

.community-post__input {
  position: relative;
  align-items: flex-end;
  gap: var(--spacing-lg);
  padding: var(--spacing-sm);
  border: var(--stroke-1) solid var(--semantic-input-border);
  border-radius: var(--radius-sm);
  background: var(--semantic-white);
}

.community-post__textarea {
  display: block;
  min-width: 0;
  height: 20px;
  max-height: 60px;
  flex: 1 1 auto;
  padding: 0;
  overflow-y: auto;
  border: 0;
  outline: 0;
  resize: none;
  color: var(--neutral-tx2-title);
  background: transparent;
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-20);
  scrollbar-color: transparent transparent;
  scrollbar-width: thin;
}

.community-post__composer.has-value .community-post__textarea {
  font-weight: var(--font-weight-medium);
}

.community-post__reply-prefix {
  position: absolute;
  z-index: 1;
  top: var(--spacing-sm);
  left: var(--spacing-sm);
  display: none;
  color: var(--brand-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-20);
  white-space: pre;
  pointer-events: none;
}

.community-post__composer.is-replying .community-post__reply-prefix {
  display: block;
}

.community-post__composer.is-replying .community-post__textarea {
  text-indent: var(--reply-prefix-width, 0);
}

.community-post__textarea::placeholder {
  color: var(--neutral-tx4-dissolved);
}

.community-post__input button {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: var(--stroke-1) solid var(--semantic-border);
  border-radius: var(--radius-xs);
  background: var(--semantic-bg);
  cursor: pointer;
}

.community-post__input button img {
  width: 9px;
}

.community-post__input button:disabled {
  cursor: default;
  opacity: 0.45;
}

.community-post__composer.has-value .community-post__input,
.community-post__composer:focus-within .community-post__input {
  border-color: var(--semantic-input-border);
}

.community-post__composer.has-value .community-post__input button {
  border-color: var(--brand-primary);
  background: var(--brand-primary);
}

.community-post__composer.has-value .community-post__input button img {
  filter: brightness(0) invert(1);
}

.community-post__reply-thread {
  position: relative;
  margin-top: var(--spacing-lg);
  margin-left: calc(var(--spacing-lg) * -1);
}

.community-post__replies {
  display: none;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.community-post__reply-thread.is-open .community-post__replies {
  display: flex;
}

.community-post__reply {
  position: relative;
  padding-left: 16px;
}

.community-post__reply::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 16px;
  height: var(--stroke-1);
  background: var(--semantic-border);
}

.community-post__reply-content {
  margin-top: var(--spacing-sm);
  margin-left: var(--spacing-md);
}

.community-post__reply-mention {
  /* color: var(--brand-primary); */
  font-weight: var(--font-weight-medium);
}

.community-post__reply .community-post__comment-user {
  gap: var(--spacing-2xs);
}

.community-post__reply-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
  padding: 0 0 0 16px;
  border: 0;
  color: var(--neutral-tx2-title);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.community-post__reply-toggle::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 0;
  width: 16px;
  height: var(--stroke-1);
  background: var(--semantic-border);
}

.community-post__reply-toggle::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: calc(50% + var(--stroke-1));
  bottom: 0;
  left: -1px;
  width: 2px;
  background: var(--semantic-white);
}

.community-post__reply-toggle-icon {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  border: var(--stroke-1) solid var(--semantic-border);
  border-radius: var(--radius-full);
  background: var(--neutral-tx2-title);
}

.community-post__reply-toggle-icon img {
  width: 11px;
  height: 11px;
}

.community-post-page.is-popup-closed .community-post__card {
  display: none;
}

.community-post__action-dialog[hidden] {
  display: none;
}

.community-post__action-dialog {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
  background: var(--badge-alpha-b-20);
}

.community-post__action-panel {
  width: 400px;
  max-width: calc(100vw - 40px);
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--semantic-white);
}

.community-post__action-item {
  display: flex;
  width: 100%;
  height: 61px;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
  border: 0;
  border-bottom: var(--stroke-1) solid var(--semantic-border);
  color: var(--neutral-tx2-title);
  background: var(--semantic-white);
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-20);
  cursor: pointer;
}

.community-post__action-item:hover,
.community-post__action-item:focus-visible {
  background: var(--semantic-bg);
  outline: 0;
}

.community-post__action-item.is-danger {
  color: #ef4444;
}

.community-post__action-item.is-cancel {
  border-bottom: 0;
  color: var(--neutral-tx3-sub);
}

.community-post__share-dialog[hidden] {
  display: none;
}

.community-post__share-dialog {
  position: fixed;
  z-index: 110;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
  background: var(--badge-alpha-b-20);
}

.community-post__share-panel {
  width: 600px;
  max-width: calc(100vw - 40px);
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--semantic-white);
}

.community-post__share-head {
  display: grid;
  min-height: 60px;
  grid-template-columns: 30px 1fr 30px;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-lg);
  border-bottom: var(--stroke-1) solid var(--semantic-border);
}

.community-post__share-title {
  margin: 0;
  color: var(--neutral-tx2-title);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-20);
  text-align: center;
}

.community-post__share-close {
  display: flex;
  width: 30px;
  height: 20px;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.community-post__share-close img {
  width: 9px;
  height: 9px;
}

.community-post__share-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  padding: var(--spacing-4xl);
}

.community-post__share-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2xs);
  padding: 0;
  border: 0;
  color: var(--neutral-tx2-title);
  background: transparent;
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-20);
  white-space: nowrap;
  cursor: pointer;
}

.community-post__share-icon {
  display: flex;
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
}

.community-post__share-icon img {
  width: 60px;
  height: 60px;
}

.community-post__share-item[data-share="instagram"] .community-post__share-icon,
.community-post__share-item[data-share="kakaotalk"] .community-post__share-icon {
  background: var(--semantic-border);
}

.community-post__share-item[data-share="instagram"] .community-post__share-icon img {
  width: 25px;
  height: 25px;
}

.community-post__share-item[data-share="kakaotalk"] .community-post__share-icon img {
  width: 30px;
  height: 29px;
}

@media (max-width: 640px) {
  .community-post__share-list {
    column-gap: var(--spacing-sm);
    padding: 40px var(--spacing-lg);
  }

  .community-post__share-item {
    font-size: 12px;
  }
}

.community-post__point-dialog {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
  background: var(--badge-alpha-b-20);
}

#community-point-support-template.is-hidden,
#community-point-owner-empty-template.is-hidden,
#community-point-owner-history-template.is-hidden {
  display: none;
}

.community-post__point-panel {
  display: flex;
  width: 600px;
  max-width: calc(100vw - 40px);
  overflow: hidden;
  flex-direction: column;
  border-radius: var(--radius-md);
  background: var(--semantic-white);
}

.community-post__point-head {
  display: grid;
  min-height: 60px;
  grid-template-columns: 30px 1fr 30px;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-lg);
  border-bottom: var(--stroke-1) solid var(--semantic-border);
}

.community-post__point-head h2 {
  margin: 0;
  color: var(--neutral-tx2-title);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-20);
  text-align: center;
}

.community-post__point-support-body {
  display: flex;
  min-height: 324px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-lg);
  padding: var(--spacing-4xl);
}

.community-post__point-coin {
  display: flex;
  width: 88px;
  height: 88px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-3xs);
  border: 6px solid var(--brand-primary);
  border-radius: var(--radius-full);
  outline: var(--stroke-1) dashed var(--brand-primary-light);
  outline-offset: -12px;
  color: var(--semantic-white);
  background: var(--brand-primary);
}

.community-post__point-coin img {
  width: 18px;
  height: 18px;
}

.community-post__point-coin strong {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-22);
}

.community-post__point-support-body > p {
  margin: 0;
  color: var(--neutral-tx2-title);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-20);
  text-align: center;
}

.community-post__point-balance {
  display: flex;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius-sm);
  color: var(--neutral-tx3-sub);
  background: var(--semantic-bg);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-16);
}

.community-post__point-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.community-post__point-actions button {
  height: 61px;
  border: 0;
  border-top: var(--stroke-1) solid var(--semantic-border);
  color: var(--neutral-tx3-sub);
  background: var(--semantic-white);
  font: inherit;
  font-weight: var(--font-weight-medium);
  cursor: pointer;
}

.community-post__point-actions button + button {
  border-left: var(--stroke-1) solid var(--semantic-border);
  color: var(--brand-primary);
}

.community-post__point-panel--owner {
  height: min(600px, calc(100vh - 40px));
}

.community-post__point-close {
  display: flex;
  width: 30px;
  height: 20px;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.community-post__point-close img {
  width: 9px;
  height: 9px;
}

.community-post__point-owner-body {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  padding: 0 var(--spacing-lg) var(--spacing-lg);
}

.community-post__point-owner-info {
  margin: 0;
  padding: var(--spacing-lg) 0;
  border-bottom: var(--stroke-1) solid var(--semantic-border);
  color: var(--neutral-tx3-sub);
  font-size: var(--font-size-base);
  line-height: var(--line-height-20);
  text-align: center;
}

.community-post__point-empty {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: var(--neutral-tx4-dissolved);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
}

.community-post__point-history {
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  scrollbar-color: transparent transparent;
  scrollbar-width: thin;
  list-style: none;
}

.community-post__scroll:hover,
.community-post__scroll:focus-within,
.community-post__textarea:hover,
.community-post__textarea:focus,
.community-post__point-history:hover,
.community-post__point-history:focus-within {
  scrollbar-color: var(--neutral-tx4-dissolved) transparent;
}

.community-post__scroll::-webkit-scrollbar,
.community-post__textarea::-webkit-scrollbar,
.community-post__point-history::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.community-post__scroll::-webkit-scrollbar-track,
.community-post__textarea::-webkit-scrollbar-track,
.community-post__point-history::-webkit-scrollbar-track {
  background: transparent;
}

.community-post__scroll::-webkit-scrollbar-thumb,
.community-post__textarea::-webkit-scrollbar-thumb,
.community-post__point-history::-webkit-scrollbar-thumb {
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  background: transparent;
  background-clip: padding-box;
}

.community-post__scroll:hover::-webkit-scrollbar-thumb,
.community-post__scroll:focus-within::-webkit-scrollbar-thumb,
.community-post__textarea:hover::-webkit-scrollbar-thumb,
.community-post__textarea:focus::-webkit-scrollbar-thumb,
.community-post__point-history:hover::-webkit-scrollbar-thumb,
.community-post__point-history:focus-within::-webkit-scrollbar-thumb {
  background-color: var(--neutral-tx4-dissolved);
}

.community-post__scroll::-webkit-scrollbar-thumb:hover,
.community-post__textarea::-webkit-scrollbar-thumb:hover,
.community-post__point-history::-webkit-scrollbar-thumb:hover {
  background-color: var(--neutral-tx3-sub);
}

.community-post__point-history li {
  display: grid;
  min-height: 80px;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-lg);
  border-bottom: var(--stroke-1) solid var(--semantic-border);
}

.community-post__point-history li:hover {
  background: var(--semantic-bg);
}

.community-post__point-history li > img {
  width: 40px;
  height: 40px;
  border: var(--stroke-1) solid var(--semantic-border-hover);
  border-radius: var(--radius-full);
  object-fit: cover;
}

.community-post__point-history li > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--spacing-3xs);
}

.community-post__point-history strong,
.community-post__point-history small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-post__point-history strong {
  color: var(--neutral-tx2-title);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-20);
}

.community-post__point-history small {
  color: var(--neutral-tx3-sub);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-16);
}

.community-post__point-history b {
  display: flex;
  align-items: center;
  gap: var(--spacing-3xs);
  color: var(--brand-primary);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-22);
  white-space: nowrap;
}

.community-post__point-history b img {
  width: 18px;
  height: 18px;
}

@media (max-width: 640px) {
  .community-post__point-support-body {
    min-height: 300px;
    padding: 40px var(--spacing-lg);
  }

  .community-post__point-history li {
    padding: var(--spacing-sm);
  }

  .community-post__point-history b {
    font-size: var(--font-size-base);
  }
}

.community-post__follow-toast[hidden] {
  display: none;
}

.community-post__follow-toast {
  position: fixed;
  z-index: 110;
  top: 50%;
  left: 50%;
  padding: var(--spacing-lg) var(--spacing-3xl);
  border-radius: var(--radius-full);
  color: var(--semantic-white);
  background: var(--badge-alpha-b-70);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-20);
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, calc(-50% + 8px));
  transition: opacity 150ms ease, transform 150ms ease;
}

.community-post__follow-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%);
}

@media (max-width: 1100px) {
  .community-post__detail {
    width: 480px;
  }
}

/* 2026-10-27 사용자 결정 — 스토리 댓글 입력칸의 사진·동영상 첨부 아이콘(시크릿 토크 답글과 같은 아이콘). 전송 버튼 상자 규칙을 걷어낸다. */
.community-post__input .community-post__attach {
  width: 18px;
  height: 20px;
  flex: 0 0 18px;
  border: 0;
  background: transparent;
}

.community-post__input .community-post__attach img {
  width: 18px;
  height: 18px;
}

/* 2026-10-27 Figma «게시글 사용자 영역» — 상세 머리줄의 '수정됨' 뱃지(카드 `community-card__edited` 와 같은 모양) */
.community-post__edited {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-micro) var(--spacing-2xs);
  border: var(--stroke-1) solid var(--semantic-border);
  border-radius: var(--radius-full);
  color: var(--neutral-tx3-sub);
  background: var(--semantic-bg);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-16);
  white-space: nowrap;
}
