﻿:root {
  --blue-700: #29bbe3;
  --blue-300: #b6dee7;
  --gray-300: #c6c6c7;
  --brown-700: #6a3a07;
  --brown-800: #553004;
  --bg: #f4fbfd;
  --surface: #ffffff;
  --surface-soft: #eef9fc;
  --line: #d9eaf0;
  --text: #1f272d;
  --muted: #67727b;
  --shadow: 0 16px 40px rgba(41, 187, 227, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --hello-ticker-duration: 24s;
  --floating-ai-badge-bottom: calc(env(safe-area-inset-bottom, 0px) + 83px);
}

@font-face {
  font-family: "AnnyeongLogo";
  src:
    local("HY얕은샘물M"),
    local("HY Yat-eun Saemmul M"),
    url("file:///C:/Windows/Fonts/H2SA1M.TTF") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "YanoljaYache";
  src:
    local("야놀자 야체 Bold"),
    url("./assets/fonts/yanolja-yache/yanolja-yache-bold.ttf?v=20260624f")
      format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "YanoljaYache";
  src:
    local("야놀자 야체 Regular"),
    url("./assets/fonts/yanolja-yache/yanolja-yache-regular.ttf?v=20260624f")
      format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family:
    -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR",
    "Malgun Gothic", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: var(--text);
  background:
    radial-gradient(
      circle at top center,
      rgba(182, 222, 231, 0.28),
      transparent 28%
    ),
    linear-gradient(180deg, #f6fcfe 0%, #fbfeff 38%, #f4fbfd 100%);
}

body {
  overflow-x: hidden;
}

button {
  font: inherit;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

button.is-loading,
button[aria-busy="true"] {
  position: relative;
  cursor: progress;
  pointer-events: none;
}

button.is-loading > *,
button[aria-busy="true"] > * {
  opacity: 0.42;
}

button.is-loading::after,
button[aria-busy="true"]::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-right-color: transparent;
  border-top-color: transparent;
  box-shadow: 0 0 0 1px rgba(31, 39, 45, 0.18);
  animation: buttonLoadingSpin 0.7s linear infinite;
  pointer-events: none;
}

@keyframes buttonLoadingSpin {
  to {
    transform: rotate(360deg);
  }
}

.app-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  min-height: 100dvh;
  margin: 0 auto;
  --hello-ticker-space: 0px;
  padding-top: calc(env(safe-area-inset-top, 0px) + var(--hello-ticker-space));
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 118px);
}

.app-shell.has-hello-ticker {
  --hello-ticker-space: 34px;
}

.screen {
  padding: 18px 18px calc(env(safe-area-inset-bottom, 0px) + 26px);
  overflow-x: clip;
}

.screen-home {
  padding-top: 8px;
}

.card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(182, 222, 231, 0.72);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  max-width: 100%;
  overflow: hidden;
}

.mock-home-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 10px 0 0;
}

.mock-home-logo {
  width: 214px;
  max-width: 100%;
  display: block;
  transform: none;
}

.home-login-button {
  width: 30px;
  height: 30px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #aeb6bc;
}

.home-login-button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.is-logged-in .home-login-button {
  color: var(--blue-700);
}

body:not(.is-logged-in) .home-login-button {
  color: #e7a23b;
}

.mock-home-group-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--brown-700);
  color: #b6dee7;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.home-hello-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px 30px;
  gap: 0;
  align-items: center;
  margin: 2px 0 0;
}

.home-hello-compose {
  min-height: 46px;
  padding: 4px 6px 4px 14px;
  margin-right: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(182, 222, 231, 0.88);
  box-shadow: var(--shadow);
}

.home-hello-compose input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR",
    "Malgun Gothic", "Segoe UI", sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  -webkit-appearance: none;
  appearance: none;
}

.home-hello-compose input::placeholder {
  color: #9aa5ad;
  font-family:
    -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR",
    "Malgun Gothic", "Segoe UI", sans-serif;
  font-size: inherit;
  font-weight: 500;
  line-height: inherit;
  letter-spacing: inherit;
  opacity: 1;
}

.home-hello-compose__submit,
.home-hello-send {
  width: 30px;
  height: 30px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--blue-700);
  margin-left: 0;
}

.home-hello-send {
  margin-right: 10px;
}

.home-hello-icon {
  display: block;
  object-fit: contain;
  width: auto;
  height: 20px;
}

.home-hello-feedback {
  min-height: 0;
  margin: 0;
  padding-left: 16px;
  font-size: 0.8rem;
  color: var(--brown-700);
}

.home-hello-feedback:empty {
  display: none;
}

.hello-ticker {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  right: 0;
  z-index: 45;
}

.hello-ticker[hidden] {
  display: none;
}

.hello-ticker__viewport {
  overflow: hidden;
  min-height: 24px;
  background: rgba(243, 234, 216, 0.64);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  border-bottom: 1px solid rgba(217, 200, 172, 0.62);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.22);
}

.hello-ticker__track {
  display: flex;
  width: max-content;
  min-width: 100%;
  animation: helloTicker var(--hello-ticker-duration) linear infinite;
  will-change: transform;
}

.hello-ticker--static .hello-ticker__track {
  animation: none;
}

.hello-ticker__set {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  min-width: 100vw;
  padding: 5px 12px 4px;
  white-space: nowrap;
}

.hello-ticker__set[aria-hidden="true"] {
  pointer-events: none;
}

.hello-ticker__item {
  flex: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--brown-700);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.hello-ticker__item:hover,
.hello-ticker__item:focus-visible {
  text-decoration: underline;
  outline: none;
}

@keyframes helloTicker {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hello-ticker__track {
    animation: none;
  }
}

.mock-home-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
  margin-bottom: 12px;
}

.mock-home-feature-grid--single {
  grid-template-columns: 1fr;
}

.mock-feature-card {
  min-height: 56px;
  border-radius: 20px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow);
}

.mock-feature-card strong {
  font-family:
    "YanoljaYache", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 1.34rem;
  font-weight: 650;
  margin-bottom: 4px;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.mock-feature-card span {
  font-size: 0.9rem;
  font-weight: 400;
}

.mock-feature-card--solid {
  background: var(--blue-700);
  color: #fff;
}

.mock-feature-card--outline {
  background: var(--blue-700);
  border: 0;
  color: #fff;
}

.mock-home-section {
  padding: 16px 14px 14px;
}

.mock-home-section__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(182, 222, 231, 0.72);
}

.mock-home-section__head h2 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue-700);
  font-family:
    "YanoljaYache", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.home-section-title-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue-700);
  font-family:
    "YanoljaYache", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  cursor: pointer;
}

.home-section-title-link:focus-visible {
  outline: 2px solid rgba(52, 173, 224, 0.45);
  outline-offset: 3px;
  border-radius: 8px;
}

.home-section-link {
  color: #7f8790;
  font-size: 0.88rem;
  font-weight: 500;
}

.mock-home-list-item strong,
.mock-home-share-item__body strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.42;
  font-weight: 650;
}

.mock-home-list-item {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  min-width: 0;
}

.mock-home-list-item p,
.mock-home-share-item__body p {
  margin: 6px 0 0;
  color: #5f6974;
  font-size: 0.94rem;
  line-height: 1.45;
}

.mock-home-list-item + .mock-home-list-item {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.mock-home-group-card {
  margin-bottom: 0;
  margin-inline: -14px;
  padding: 4px 14px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  min-width: 0;
}

.mock-home-group-card + .mock-home-group-card {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.home-notice-area {
  margin: 22px 2px 0;
  padding: 0 2px;
  color: #56616a;
}

.home-notice-area p,
.home-notice-link {
  margin: 0 0 7px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.home-notice-link {
  display: grid;
  gap: 6px;
  width: 100%;
  margin: 0;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  text-align: left;
}

.home-notice-link + .home-notice-link {
  padding-top: 14px;
  border-top: 1px solid rgba(182, 222, 231, 0.56);
}

.home-notice-link__head,
.home-notice-link__foot {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.home-notice-link__head {
  min-width: 0;
}

.home-notice-link__title {
  min-width: 0;
  color: #20303d;
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: normal;
  word-break: keep-all;
}

.home-notice-link__foot {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #9aa5ad;
  font-size: 0.76rem;
}

.home-notice-area strong {
  color: var(--brown-700);
  font-weight: 750;
}

.home-notice-link__date {
  color: #9aa5ad;
  white-space: nowrap;
}

.home-notice-link__comment-count {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.76rem;
  line-height: 1;
}

.home-notice-link__comment-count svg {
  width: 0.85em;
  height: 0.85em;
}

.notice-more-button {
  display: block;
  width: fit-content;
  min-height: 30px;
  margin: 12px auto 0;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(182, 222, 231, 0.42);
  color: #52606a;
  font-size: 0.78rem;
  font-weight: 650;
}

.home-insight-button {
  margin-top: 14px;
  margin-bottom: 0;
}

button[data-panel="insight"] {
  display: none !important;
}

.card {
  padding: 18px 16px;
  margin-bottom: 12px;
}

.section-head,
.page-head,
.hero-row,
.hello-section__head,
.post-card__top,
.meta-line,
.utility-row,
.badge-row,
.profile-row,
.profile-stats,
.group-row {
  display: flex;
  align-items: center;
}

.section-head {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.section-head h2,
.page-head h1 {
  margin: 0;
}

.page-head {
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.page-head--center {
  justify-content: center;
  text-align: center;
}

.page-head--center > div {
  width: 100%;
}

.page-head h1 {
  font-size: 1.55rem;
  line-height: 1.14;
  font-weight: 650;
}

.warm-title {
  color: var(--blue-700);
  font-family:
    "AnnyeongLogo", "HY얕은샘물M", "Segoe Script", "Brush Script MT", cursive;
  font-size: 2.35rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: -0.03em;
  text-shadow: 0 3px 8px rgba(41, 187, 227, 0.12);
}

.warm-title--ko {
  font-family:
    "AnnyeongLogo", "HY얕은샘물M", "Apple SD Gothic Neo", "Noto Sans KR",
    "Malgun Gothic", sans-serif;
  font-size: 2.32rem !important;
  font-weight: 500 !important;
  letter-spacing: -0.05em;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--brown-700);
  font-size: 0.9rem;
}

.page-description {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.hello-section + .hello-section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

.hello-section__head {
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.hello-section__head small,
.subtle,
.meta-line small,
.feed-item small,
.group-body small {
  color: var(--muted);
}

.hello-relays {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hello-relays span {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(182, 222, 231, 0.22);
  color: var(--brown-700);
  font-size: 0.84rem;
}

.hello-note + .hello-note,
.feed-item + .feed-item {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.hello-note strong,
.feed-item strong,
.post-card strong,
.group-body strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.45;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.post-schedule {
  display: block;
  margin-top: 8px;
  color: #72808a;
  font-family: "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.post-schedule--inline {
  display: inline-flex;
  align-items: center;
  margin-top: 0;
  min-height: 30px;
  color: #68737d;
}

.post-schedule--public {
  color: var(--blue-700);
}

.post-schedule--private {
  color: var(--brown-700);
}

.hello-note p,
.feed-item p,
.post-card p,
.group-body p,
.admin-card p {
  margin: 8px 0 0;
  line-height: 1.55;
  color: #39434d;
  font-size: 0.96rem;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.wide-button {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.wide-button {
  background: var(--blue-700);
  color: #fff;
}
.wide-button--soft,
.wide-button--soft {
  background: linear-gradient(
    135deg,
    rgba(182, 222, 231, 0.96),
    rgba(182, 222, 231, 0.5)
  );
  color: var(--brown-700);
}

.wide-button--muted {
  background: linear-gradient(
    135deg,
    rgba(198, 198, 199, 0.98),
    rgba(198, 198, 199, 0.72)
  );
  color: #41505b;
}

.insight-wide-button {
  position: relative;
  display: block;
  aspect-ratio: 392 / 76;
  min-height: 0;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  background: transparent url("./assets/icons/143ai-insight-button.png") center / 100% 100%
    no-repeat;
  color: transparent;
  text-align: left;
  box-shadow: none;
}

.wide-button--muted.insight-wide-button {
  background: transparent url("./assets/icons/143ai-insight-button.png") center / 100% 100%
    no-repeat;
  color: transparent;
}

.insight-wide-button img {
  width: 106px;
  height: auto;
  display: block;
  flex: 0 0 auto;
}

.insight-wide-button__content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
}

.insight-wide-button__title {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 40px;
  flex: 0 0 236px;
}

.insight-wide-button__content strong {
  color: var(--blue-700);
  font-size: 1.48rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  transform: translateY(-2px);
}

.insight-wide-button__summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: rgba(41, 187, 227, 0.62);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  margin: 0;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

.insight-wide-button__summary span {
  display: block;
  white-space: normal;
  word-break: keep-all;
}

[data-sos-dynamic-list] {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

[data-record-dynamic-list] {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

[data-share-dynamic-list] {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

[data-group-dynamic-list] {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

[data-group-post-list] {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

[data-sos-dynamic-list] .post-card,
[data-record-dynamic-list] .post-card,
[data-share-dynamic-list] .post-card,
[data-group-dynamic-list] .group-card,
[data-group-post-list] .post-card {
  margin-bottom: 0;
}

.insight-wide-button--bright {
  background: #fff;
  border: 1.5px solid rgba(41, 187, 227, 0.88);
  color: var(--blue-700);
}

.signup-title-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}

.signup-title-box strong {
  flex: 1;
  color: #fff;
  font-family:
    "YanoljaYache", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  text-align: center;
}

.signup-close-button {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  flex: 0 0 auto;
}

.signup-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}

.signup-actions .wide-button {
  margin-bottom: 0;
}

.signup-form-card {
  padding: 18px 16px;
}

.login-form-card {
  margin-bottom: 16px;
}

.login-helper {
  margin-bottom: 0;
}

.login-helper--error {
  color: #d94b4b !important;
  font-weight: 400 !important;
}

.auth-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 4px;
  color: #7a8590;
  font-size: 0.84rem;
  font-weight: 700;
}

.auth-links__dot {
  color: #bcc6ce;
}

.auth-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue-700);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-link:active {
  transform: translateY(1px);
}

.care-compose-title-box strong {
  font-size: 1.56rem;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.care-compose-ai-card,
.care-compose-kind-card,
.care-compose-form-card {
  margin-bottom: 16px;
}

.care-compose-ai-field textarea {
  min-height: 92px;
}

.care-compose-ai-field span {
  color: #7b8791;
  font-size: 0.74rem;
  font-weight: 400;
  line-height: 1.25;
}

.care-compose-ai-card .form-stack {
  gap: 0;
}

.care-compose-ai-field {
  margin-bottom: 14px;
}

.care-compose-ai-card .signup-submit {
  margin-bottom: 0;
}

.care-compose-ai-card .bubble-note {
  margin-top: 8px;
  min-height: 0;
  padding-bottom: 2px;
}

.sos-write-actions .signup-submit[hidden] {
  display: none !important;
}

.care-compose-form[hidden] {
  display: none;
}

[hidden] {
  display: none !important;
}

.oauth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(182, 222, 231, 0.94);
  background: #fff;
  color: #46515b;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(31, 39, 45, 0.05);
}

.oauth-button__icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--blue-700);
}

.oauth-button__icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.form-stack {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.signup-helper {
  margin: -4px 0 2px;
  color: #7a8590;
  font-size: 0.77rem;
  line-height: 1.45;
}

.signup-helper--error {
  color: #d94b4b;
}

.signup-helper--success {
  color: #2f9b61;
}

.group-write-helper {
  margin: -2px 2px 12px;
}

.form-field {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.care-compose-form .form-field {
  margin-bottom: 16px;
}

.care-compose-form .form-field:last-child {
  margin-bottom: 0;
}

.form-field--missing {
  position: relative;
}

.form-field--missing > span,
.form-field--missing > label,
.form-field--missing .form-section-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brown-700);
}

.form-field--missing > span::after,
.form-field--missing > label::after,
.form-field--missing .form-section-title::after {
  content: "필수";
  min-height: 20px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 138, 61, 0.16);
  color: #d36814;
  font-size: 0.68rem;
  font-weight: 800;
  flex: 0 0 auto;
}

.form-field--missing input,
.form-field--missing textarea,
.form-field--missing select {
  border-color: rgba(255, 138, 61, 0.72);
  background: #fffdfa;
}

.form-field--missing .schedule-range-card {
  border-color: rgba(255, 138, 61, 0.72);
  background: linear-gradient(
    180deg,
    rgba(255, 253, 250, 0.98),
    rgba(255, 250, 244, 0.96)
  );
}

.form-field--missing .schedule-picker__button {
  border-color: rgba(255, 138, 61, 0.72);
  background: #fffdfa;
}

.form-field span,
.form-field label,
.form-check span {
  color: #52606a;
  font-size: 0.83rem;
  font-weight: 700;
}

.form-field--missing > span,
.form-field--missing > label,
.form-field--missing .form-section-title {
  color: #cf8230 !important;
}

.form-section-title {
  color: var(--blue-700);
  font-family:
    "YanoljaYache", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 1.46rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.form-field[data-care-section] {
  margin-top: 24px;
  padding-top: 10px;
}

.care-compose-form[data-care-compose-form="sos"] .sos-designated-field {
  margin-top: 20px;
  margin-bottom: 22px;
}

.care-compose-form[data-care-compose-form="sos"]
  .sos-designated-field
  .form-section-title {
  color: #52606a !important;
  font-family: inherit !important;
  font-size: 0.83rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

.care-compose-form[data-care-compose-form="sos"]
  .sos-designated-field
  .form-section-title::after {
  vertical-align: middle;
}

.care-compose-form[data-care-compose-form="sos"]
  [data-care-compose-field="sos-types"] {
  margin-top: 18px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid rgba(182, 222, 231, 0.94);
  border-radius: 14px;
  background: #fff;
  color: #46515b;
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  padding: 14px 15px;
  resize: none;
}

.rich-text-editor {
  display: grid;
  gap: 12px;
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.rich-text-editor__surface {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: calc(1.5em * 5 + 28px);
  padding: 14px 15px;
  border: 1px solid rgba(182, 222, 231, 0.94);
  border-radius: 14px;
  background: #fff;
  color: #46515b;
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: keep-all;
  overflow: auto;
  outline: none;
  caret-color: #46515b;
}

.rich-text-editor__surface:empty::before {
  content: attr(data-placeholder);
  color: #b7c1c9;
}

.rich-text-editor__surface:focus-visible {
  border-color: rgba(41, 187, 227, 0.84);
  box-shadow: 0 0 0 3px rgba(41, 187, 227, 0.12);
}

.rich-text-editor__surface::selection {
  background: rgba(41, 187, 227, 0.2);
  color: inherit;
}

.rich-text-editor__surface strong {
  font-weight: 700;
}

.rich-text-editor__surface span {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  display: inline;
  vertical-align: baseline;
}

.rich-text-editor__source {
  display: none !important;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #b7c1c9;
}

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #7d8792 50%),
    linear-gradient(135deg, #7d8792 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 2px),
    calc(100% - 16px) calc(50% - 2px);
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
  padding-right: 38px;
}

.form-field input[readonly] {
  background: rgba(244, 251, 253, 0.92);
  color: #7d8792;
}

.form-field input[type="number"]::-webkit-outer-spin-button,
.form-field input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.form-field input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.schedule-range-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 28px;
  border: 1.5px solid rgba(182, 222, 231, 0.9);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(249, 252, 253, 0.94)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 2px 10px rgba(31, 39, 45, 0.03);
}

.schedule-range-card--compact {
  padding: 14px;
  gap: 12px;
}

.schedule-range-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.schedule-range-card__head > span {
  color: #52606a;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.schedule-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 92px;
  min-height: 40px;
  padding: 0;
  border-radius: 999px;
  cursor: pointer;
  touch-action: manipulation;
}

.schedule-switch input {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.schedule-switch__track {
  position: relative;
  display: block;
  width: 100%;
  height: 40px;
  border-radius: 999px;
  background: #dce7ee;
  border: 1px solid rgba(182, 222, 231, 0.88);
  box-shadow:
    inset 0 2px 4px rgba(31, 39, 45, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.84);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.schedule-switch__track::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(31, 39, 45, 0.16);
  transition: transform 0.2s ease;
}

.schedule-switch input:checked + .schedule-switch__track {
  background: linear-gradient(
    135deg,
    rgba(182, 222, 231, 0.98),
    rgba(123, 198, 221, 0.98)
  );
  border-color: rgba(105, 188, 214, 0.92);
}

.schedule-switch input:checked + .schedule-switch__track::after {
  transform: translateX(52px);
}

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

.schedule-picker {
  position: relative;
  min-width: 0;
}

.schedule-picker[hidden] {
  display: none;
}

.schedule-picker__button {
  position: relative;
  z-index: 0;
  width: 100%;
  min-height: 74px;
  padding: 18px 52px 18px 20px;
  border: 1px solid rgba(182, 222, 231, 0.94);
  border-radius: 24px;
  background: #fff;
  color: #53606c;
  font: inherit;
  font-size: 0.96rem;
  font-weight: 750;
  text-align: left;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 2px 6px rgba(31, 39, 45, 0.03);
  pointer-events: none;
}

.schedule-picker__button::after {
  content: "⌄";
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-58%);
  color: #8b96a0;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
}

.schedule-picker__button.is-placeholder {
  color: #b1bcc4;
  font-weight: 700;
}

.schedule-picker__button:disabled {
  background: rgba(244, 248, 250, 0.88);
  color: #aab4bb;
  box-shadow: none;
  cursor: not-allowed;
}

.schedule-picker__button:disabled::after {
  color: #c0cad1;
}

.schedule-picker__input {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
}

@media (hover: hover) and (pointer: fine) {
  .schedule-picker__button {
    z-index: 2;
    pointer-events: auto;
    cursor: pointer;
  }

  .schedule-picker__input {
    pointer-events: none;
  }
}

.schedule-range-card--compact .schedule-picker__button {
  min-height: 68px;
}

.schedule-range--all-day .schedule-picker--time {
  display: none;
}

.stepper-field {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 8px;
  align-items: center;
}

.stepper-field input {
  text-align: center;
}

.stepper-field__button {
  min-height: 50px;
  border-radius: 14px;
  background: rgba(41, 187, 227, 0.12);
  border: 1px solid rgba(41, 187, 227, 0.24);
  color: var(--blue-700);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.form-subfield {
  display: grid;
  gap: 7px;
  padding: 11px 12px;
  border-radius: 16px;
  background: rgba(182, 222, 231, 0.12);
}

.form-subfield strong {
  color: #64707b;
  font-size: 0.8rem;
  font-weight: 800;
}

.inline-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.inline-field__action {
  min-height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  background: rgba(41, 187, 227, 0.12);
  border: 1px solid rgba(41, 187, 227, 0.24);
  color: var(--blue-700);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(182, 222, 231, 0.18);
  color: #52606a;
  font-size: 0.78rem;
  font-weight: 700;
}

.choice-group input {
  appearance: none;
  -webkit-appearance: none;
  width: 9px;
  height: 9px;
  margin: 0;
  flex: 0 0 9px;
  border-radius: 2px;
  border: 1px solid rgba(127, 141, 154, 0.55);
  background: #fff;
  box-shadow: none;
  outline: none;
}

.choice-group input:checked {
  border-color: #1b96f2;
  background-color: #1b96f2;
  background-image:
    linear-gradient(45deg, transparent 42%, #fff 42% 58%, transparent 58%),
    linear-gradient(-45deg, transparent 42%, #fff 42% 58%, transparent 58%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-check--detached {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(182, 222, 231, 0.34);
}

.form-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 2px solid rgba(127, 141, 154, 0.6);
  border-radius: 5px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  display: inline-grid;
  place-content: center;
}

.form-check input[type="checkbox"]:checked {
  border-color: #1b96f2;
  background-color: #1b96f2;
  background-image:
    linear-gradient(45deg, transparent 42%, #fff 42% 58%, transparent 58%),
    linear-gradient(-45deg, transparent 42%, #fff 42% 58%, transparent 58%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.form-check input[type="checkbox"]:focus-visible {
  outline: 2px solid rgba(27, 150, 242, 0.35);
  outline-offset: 2px;
}

.signup-submit {
  margin-bottom: 10px;
}

.signup-submit:disabled,
.signup-submit.is-disabled {
  opacity: 0.42;
  filter: saturate(0.72);
  cursor: not-allowed;
  box-shadow: none;
}

.sos-write-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sos-write-feedback {
  min-height: 20px;
  margin: 0;
}

.sos-designated-field[hidden] {
  display: none;
}

.form-back-link {
  display: block;
  width: fit-content;
  margin: 0 auto;
  color: #7f8790;
  font-size: 0.86rem;
  font-weight: 600;
}

.list-card {
  padding-top: 18px;
}

.feed-item__top,
.post-card__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
  margin-bottom: 10px;
  min-width: 0;
}

.badge-row,
.utility-row,
.tab-row,
.meta-line,
.profile-stats {
  flex-wrap: wrap;
  gap: 8px;
}

.badge,
.chip,
.state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.badge,
.badge--blue,
.state--wait {
  background: rgba(41, 187, 227, 0.16);
  color: var(--blue-700);
}

.badge--brown,
.state--done {
  background: rgba(106, 58, 7, 0.14);
  color: var(--brown-700);
}

.wide-button {
  width: 100%;
  min-height: 54px;
  margin-bottom: 14px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.wide-button--with-note {
  min-height: 68px;
  flex-direction: column;
  gap: 4px;
  padding: 10px 16px;
  text-align: center;
}

.wide-button--with-note strong {
  font-family:
    "YanoljaYache", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 1.56rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
}

.wide-button--with-note small {
  max-width: 310px;
  font-size: 0.75rem;
  line-height: 1.25;
  font-weight: 400;
  opacity: 0.9;
  white-space: nowrap;
}

.middot-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.42em;
  margin: 0 0.12em;
  color: inherit;
  font-size: 0;
  line-height: 0;
  vertical-align: middle;
  overflow: visible;
}

.middot-text::before {
  content: "";
  display: block;
  width: 0.2em;
  height: 0.2em;
  border-radius: 999px;
  background: currentColor;
  transform: translateY(-0.02em);
}

.utility-row {
  margin-bottom: 16px;
}

.condition-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 34px;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.condition-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 36px;
  padding: 0 8px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(198, 198, 199, 0.48);
  box-shadow: 0 8px 20px rgba(31, 39, 45, 0.04);
  color: #4d5862;
  font-size: 0.78rem;
  font-weight: 650;
}

.condition-chip.is-active {
  border-color: rgba(41, 187, 227, 0.58);
  color: var(--blue-700);
}

.condition-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.condition-chip__label {
  margin-left: 0;
  color: inherit;
  font-size: inherit;
  line-height: 1;
  transform: none;
}

.condition-chip__arrow {
  margin-left: 2px;
  color: #8a939c;
  font-size: 1.05rem;
  line-height: 1;
  transform: translateY(-1px);
}

.sos-filter-panel {
  padding: 14px;
  margin-bottom: 14px;
}

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

.sos-filter-panel__head {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
}

.sos-filter-panel__head strong {
  font-size: 0.96rem;
  color: #24313b;
}

.sos-filter-panel__head small {
  color: #7a8590;
  font-size: 0.77rem;
}

.sos-filter-panel__row input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(182, 222, 231, 0.94);
  border-radius: 14px;
  background: #fff;
  color: #46515b;
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.45;
  padding: 12px 13px;
}

.sos-filter-panel__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.sos-empty-state {
  text-align: left;
}

.sos-empty-state--plain {
  display: grid;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px dashed rgba(182, 222, 231, 0.9);
  box-shadow: none;
}

.sos-empty-state--plain strong {
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.sos-empty-state--plain p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.sos-guide-state {
  display: grid;
  gap: 12px;
  background: linear-gradient(
    180deg,
    rgba(241, 250, 253, 0.88),
    rgba(255, 255, 255, 0.96)
  );
  border: 1px solid rgba(41, 187, 227, 0.18);
  box-shadow: 0 12px 26px rgba(68, 108, 120, 0.08);
}

.sos-guide-state__eyebrow {
  display: inline-flex;
  width: max-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(41, 187, 227, 0.14);
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}

.sos-guide-state p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.sos-guide-state strong {
  color: var(--text);
  font-size: 0.99rem;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

[data-home-sos-list] {
  display: grid;
  gap: 12px;
}

.tab-row {
  display: flex;
  margin-bottom: 14px;
}

.tab-row .chip {
  min-height: 36px;
  padding: 0 8px;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
}

.tab-row .chip.is-active {
  background: transparent;
  border-color: var(--blue-700);
}

.chip {
  background: #edf8fb;
  color: #5c6670;
  border: 1px solid transparent;
}

.chip.is-active {
  background: #fff;
  border-color: rgba(41, 187, 227, 0.24);
  color: var(--blue-700);
  font-weight: 700;
}

.round-icon,
.share-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
}

.plain-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #67727b;
  flex-shrink: 0;
  overflow: visible;
}

.plain-icon--small {
  width: 30px;
  height: 30px;
}

.home-share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  color: #6c737c;
  font-size: 0;
  line-height: 1;
  flex-shrink: 0;
}

.home-share-button img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.plain-icon img,
.plain-icon--small img,
.bubble-copy img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.plain-icon svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.post-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
  min-width: 0;
  padding-right: 2px;
  position: relative;
  z-index: 2;
}

.post-card__badges {
  margin-bottom: 10px;
}

.round-icon {
  background: #fff;
  border: 1px solid rgba(182, 222, 231, 0.7);
  color: var(--brown-700);
}

.share-icon {
  background: rgba(182, 222, 231, 0.24);
  color: var(--blue-700);
  font-size: 1rem;
}

.post-card {
  padding: 18px 16px;
  max-width: 100%;
  min-width: 0;
}

.badge-row--tight {
  flex: 1 1 auto;
  flex-wrap: nowrap;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
}

.badge-row--tight .badge {
  flex: 0 0 auto;
  max-width: 92px;
}

.badge-row--tight .post-schedule--inline {
  min-width: 0;
  min-height: 20px;
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.group-card {
  padding: 14px 18px 14px;
}

.group-summary-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.group-summary-card__title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.group-summary-card__title-row strong {
  font-size: 1.02rem;
  line-height: 1.35;
}

.group-summary-card__meta {
  margin: 0;
  color: #7a8590;
  font-size: 0.9rem;
}

.post-card + .post-card,
.group-card + .group-card {
  margin-top: 6px;
}

.meta-line {
  justify-content: space-between;
  margin-top: 12px;
}

.post-cta-row {
  display: none;
}

.post-cta-button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(41, 187, 227, 0.14);
  border: 1px solid rgba(41, 187, 227, 0.26);
  color: var(--blue-700);
  font-size: 0.84rem;
  font-weight: 750;
}

.post-cta-button--brown {
  background: rgba(106, 58, 7, 0.08);
  border-color: rgba(106, 58, 7, 0.18);
  color: var(--brown-700);
}

.nickname {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-start;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  font: inherit;
  line-height: inherit;
  text-align: inherit;
  vertical-align: baseline;
  color: #46515b;
  font-weight: 650;
  cursor: pointer;
}

.nickname--self {
  font-size: 1.08em;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nickname--care-confirm {
  color: var(--blue-700);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 0.16em;
}

.nickname--care-confirm:hover,
.nickname--care-confirm:focus-visible {
  text-decoration-style: solid;
}

.detail-nickname {
  color: #20303d;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.ai-chat-message__text .ai-chat-message__nickname,
.ai-chat-message__source .ai-chat-message__nickname {
  color: var(--blue-700);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
  white-space: nowrap;
}

.ai-chat-message__text .ai-chat-message__nickname.nickname--self,
.ai-chat-message__source .ai-chat-message__nickname.nickname--self {
  font-size: inherit;
  letter-spacing: inherit;
}

.ai-chat-message__text .ai-chat-message__nickname:hover,
.ai-chat-message__text .ai-chat-message__nickname:focus-visible,
.ai-chat-message__source .ai-chat-message__nickname:hover,
.ai-chat-message__source .ai-chat-message__nickname:focus-visible {
  text-decoration-style: solid;
}

.muted-meta {
  color: #9aa5ad !important;
  font-weight: 400;
}

.comment-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #68737d;
  font-size: 0.9rem;
  white-space: nowrap;
}

.comment-count svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.meta-line .comment-count {
  margin-left: auto;
}

.utility-row--tabs .chip {
  min-width: 94px;
  font-weight: 700;
}

.group-thumb,
.profile-avatar,
.group-brief__thumb {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  flex-shrink: 0;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    rgba(41, 187, 227, 0.95),
    rgba(182, 222, 231, 0.8)
  );
}

.group-thumb--soft {
  background: linear-gradient(
    135deg,
    rgba(106, 58, 7, 0.92),
    rgba(182, 222, 231, 0.7)
  );
}

.group-thumb--mint {
  background: linear-gradient(
    135deg,
    rgba(182, 222, 231, 0.98),
    rgba(41, 187, 227, 0.72)
  );
}

.group-row,
.group-brief,
.profile-row {
  gap: 12px;
}

.group-row {
  align-items: flex-start;
  margin-bottom: 6px;
}

.group-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.group-card .post-card__top {
  margin-bottom: 10px;
}

.group-body,
.group-brief__body {
  min-width: 0;
}

.group-preview-head {
  display: grid;
  gap: 6px;
  margin-top: -5px;
  margin-bottom: 10px;
  justify-items: start;
}

.group-preview-head small {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px;
  margin-top: 2px;
  color: #6b7580;
  font-weight: 400;
  line-height: 1.45;
}

.group-preview-author-label {
  color: #6b7580;
  font-weight: 650;
}

.group-preview-members {
  color: #111;
  font-weight: 400;
  line-height: 1.45;
}

.group-preview-members .nickname {
  color: inherit;
  font-weight: 400;
}

.group-preview-members .nickname--self {
  font-size: inherit;
  font-weight: 400;
  letter-spacing: 0;
}

.post-card > .detail-title-button strong,
.mock-home-list-item > .detail-title-button strong,
.group-preview-head > .detail-title-button strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
  word-break: keep-all;
}

.group-preview-list {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.group-preview-item {
  display: grid;
  gap: 4px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.group-preview-item__media,
.group-post-media,
.group-post-detail__media,
.care-post-home-media,
.care-post-media,
.care-post-detail__media {
  overflow: hidden;
  border-radius: 18px;
  background: rgba(41, 187, 227, 0.08);
  border: 1px solid rgba(182, 222, 231, 0.72);
}

.group-preview-item__media {
  margin-bottom: 4px;
}

.care-post-home-media {
  margin-bottom: 4px;
}

.group-preview-item__media-image,
.group-post-media__image,
.group-post-detail__image,
.care-post-home-media__image,
.care-post-media__image,
.care-post-detail__image {
  display: block;
  width: 100%;
  object-fit: cover;
}

.group-preview-item__media-image {
  max-height: 120px;
}

.group-post-media {
  margin: 10px 0 0;
}

.group-post-media__image {
  max-height: 260px;
}

.care-post-media__image {
  max-height: 260px;
}

.group-post-detail__media {
  margin: 10px 0 2px;
}

.group-post-detail__image {
  max-height: 300px;
}

.care-post-detail__media {
  margin: 10px 0 2px;
}

.care-post-detail__image {
  max-height: 300px;
}

.care-post-home-media__image {
  max-height: 120px;
}

.form-field input[type="file"] {
  padding: 12px 15px;
}

.form-field input[type="file"]::file-selector-button {
  margin-right: 12px;
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(41, 187, 227, 0.12);
  color: #1f272d;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
}

.form-field input[type="file"]::file-selector-button:hover {
  background: rgba(41, 187, 227, 0.18);
}

.care-compose-image-preview {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px dashed rgba(182, 222, 231, 0.95);
  border-radius: 18px;
  background: rgba(244, 251, 253, 0.9);
}

.care-compose-image-preview__image {
  display: block;
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 14px;
}

.care-compose-image-clear {
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(182, 222, 231, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #52606a;
  font-size: 0.82rem;
  font-weight: 800;
}

.care-compose-image-clear:hover,
.care-compose-image-clear:focus-visible {
  background: rgba(244, 251, 253, 1);
  border-color: rgba(41, 187, 227, 0.62);
  outline: none;
}

.group-preview-item__content {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  color: #58636e;
  font-size: 0.9rem;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.group-preview-item__title {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #1f272d;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

button.group-preview-item__title {
  overflow: visible;
}

button.group-preview-item__title:focus-visible {
  outline: 2px solid rgba(182, 222, 231, 0.95);
  outline-offset: 3px;
}

.group-preview-item__author {
  color: #6b7580;
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.35;
}

.group-preview-item__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.group-preview-item__comment-count {
  flex-shrink: 0;
  margin-left: auto;
}

.group-preview-item--empty {
  margin: 0;
  color: #7a8792;
  font-size: 0.92rem;
}

.group-latest {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 6px 0 0;
  color: #39434d;
  font-size: 0.96rem;
  line-height: 1.55;
}

.group-detail-hero {
  margin-bottom: 14px;
  padding: 18px 18px 16px;
  border-radius: var(--radius-xl);
  background: var(--blue-700);
  color: #fff;
  box-shadow: var(--shadow);
}

.group-detail-hero__title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.group-detail-hero__title-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
  flex: 0 0 auto;
}

.group-detail-hero .badge {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.group-detail-hero__title {
  display: block;
  margin: 0;
  font-family:
    "YanoljaYache", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.group-detail-hero__meta,
.group-detail-hero__desc {
  margin: 0;
}

.group-detail-hero__meta {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.96rem;
}

.group-detail-hero__meta .nickname,
.group-detail-hero__meta .muted-meta {
  color: rgba(255, 255, 255, 0.96) !important;
}

.group-detail-hero__desc {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 1rem;
  line-height: 1.55;
}

.group-detail-hero__members {
  margin-top: 14px;
}

.group-detail-hero__members-title {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.group-detail-hero__member-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.group-detail-hero__member-pill,
.group-detail-hero__member-empty {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.92rem;
  line-height: 1;
}

.group-detail-hero__member-pill--owner {
  color: #111;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: -0.02em;
  background: rgba(106, 58, 7, 0.12);
}

.group-detail-hero__member-pill--clickable {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.group-detail-hero__member-pill--clickable:hover {
  background: rgba(255, 255, 255, 0.26);
}

.group-preview-owner {
  color: #111;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.group-detail-hero__member-empty {
  background: rgba(255, 255, 255, 0.12);
}

.group-detail-hero__title-row .post-schedule--inline {
  margin-left: 2px;
  flex: 0 0 auto;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.group-detail-hero__title-meta .post-schedule--inline {
  margin-left: 0;
}

.group-detail-hero__count {
  color: #fff;
  font-weight: 650;
}

.group-detail-hero__share {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition:
    background-color 0.15s ease,
    transform 0.15s ease;
}

.group-detail-hero__share:hover,
.group-detail-hero__share:focus-visible {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.group-detail-hero__share:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.72);
  outline-offset: 2px;
}

.group-detail-hero__share img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.group-detail-insight-button {
  margin-top: 18px;
}

.wide-button--white {
  background: #fff;
  color: var(--blue-700);
  border-color: #fff;
}

.wide-button--outline {
  background: #fff;
  color: var(--blue-700);
  border-color: rgba(41, 187, 227, 0.74);
}

.group-detail-hero__write {
  margin: 0;
  min-height: 48px;
}

.group-detail-hero__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.group-detail-hero__actions--joined {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.group-detail-hero__actions--owner {
  grid-template-columns: minmax(0, 1fr);
}

.group-detail-hero__owner-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.group-detail-hero__owner-actions .wide-button {
  margin-bottom: 0;
  min-height: 48px;
}

.group-detail-hero__actions .wide-button {
  margin-bottom: 0;
}

.group-detail-hero__join {
  min-height: 48px;
}

.group-card[data-open-group-card] {
  cursor: pointer;
}

.group-list-toggle {
  margin: 14px 0 16px;
}

.group-post-card .post-actions {
  gap: 2px;
}

.group-post-card .post-actions .plain-icon {
  color: #7a8792;
}

.group-post-card .post-actions .plain-icon:hover {
  color: var(--blue-700);
}

.group-post-preview__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}

.group-post-preview__title-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
  flex: 1 1 auto;
}

.group-post-preview__title-row strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.group-post-preview__time {
  color: var(--blue-700);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.group-post-preview__content {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  color: #4c5661;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.group-post-preview__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.group-post-preview__meta .nickname {
  color: #5c6670;
}

.card-preview-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.mock-home-list-item .card-preview-text,
.mock-home-group-card .card-preview-text {
  margin: 6px 0 0;
}

.group-post-comment-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 30px;
  color: #7a8792;
  font-size: 0.9rem;
  font-weight: 700;
}

.group-post-comment-trigger svg {
  width: 22px;
  height: 22px;
}

.group-create {
  padding-top: 0;
}

.profile-stats {
  justify-content: space-between;
  margin-top: 16px;
}

.profile-stats div {
  min-width: 76px;
}

.profile-stats span,
.simple-list li {
  color: var(--muted);
}

.profile-stats span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8rem;
}

.profile-stats strong {
  font-size: 1.26rem;
}

.screen-mypage {
  padding-top: 10px;
}

.screen-mypage--logged-out {
  min-height: calc(100vh - 130px);
  display: grid;
  place-items: center;
  padding: 24px 18px 36px;
}

.mypage-guest-cta {
  width: min(100%, 340px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.mypage-guest-cta strong {
  color: var(--blue-700);
  font-family:
    "YanoljaYache", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 1.4rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.mypage-guest-cta p {
  margin: 0;
  color: #5a6772;
  font-size: 0.95rem;
  line-height: 1.5;
}

.mypage-guest-cta__buttons {
  width: 100%;
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.mypage-guest-button {
  min-height: 56px;
  margin-bottom: 0;
  border-radius: 18px;
  background: var(--blue-700);
  color: #fff;
  font-family:
    "YanoljaYache", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 1.4rem;
  line-height: 1.05;
  box-shadow: var(--shadow);
}

.mypage-guest-button:active {
  transform: translateY(1px);
}

.my-profile-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 180px;
  background: var(--blue-700);
  border-color: rgba(41, 187, 227, 0.88);
  padding-top: 16px;
}

.my-profile-top {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.my-profile-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.profile-edit-button {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, 0.95);
}

.profile-edit-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.my-avatar {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.38);
  color: var(--blue-700);
  background: #fff;
  flex-shrink: 0;
}

.my-avatar svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.my-avatar img {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 50%;
  clip-path: inset(0 round 50%);
  display: block;
  max-width: none;
  max-height: none;
}

.profile-panel-avatar {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin: 0 auto 8px;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid rgba(182, 222, 231, 0.8);
  background: #fff;
  color: var(--blue-700);
}

.profile-panel-avatar svg {
  width: 60px;
  height: 60px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-panel-avatar img {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: 50%;
  clip-path: inset(0 round 50%);
  max-width: none;
  max-height: none;
}

.mini-avatar-preview {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid rgba(41, 187, 227, 0.24);
  background: #fff;
}

.mini-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
}

.mini-choice-section {
  margin-top: 12px;
}

.mini-choice-section strong {
  display: block;
  margin-bottom: 8px;
  color: #42505c;
  font-size: 0.96rem;
}

.mini-choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-choice-list label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f5fbfe;
  color: #51606b;
  font-size: 0.9rem;
}

.mini-choice-list input {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 2px;
  border: 1px solid rgba(127, 141, 154, 0.55);
  background: #fff;
  box-shadow: none;
  outline: none;
}

.mini-choice-list input:checked {
  border-color: #1b96f2;
  background-color: #1b96f2;
  background-image:
    linear-gradient(45deg, transparent 42%, #fff 42% 58%, transparent 58%),
    linear-gradient(-45deg, transparent 42%, #fff 42% 58%, transparent 58%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.my-profile-body strong,
.my-profile-body small {
  display: block;
}

.my-profile-body {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 28px;
}

.my-name-line {
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 4px;
}

.my-name-line strong {
  font-family:
    "YanoljaYache", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 2.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.my-name-line span {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  font-weight: 750;
}

.my-profile-body small {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 8px;
}

.my-care-profile {
  margin-top: 0;
}

.my-profile-body {
  width: 100%;
}

.my-name-line {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  flex-wrap: nowrap;
  flex-direction: column;
}

.my-time-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.my-time-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: #6a3a07;
  border: 0;
  appearance: none;
  color: #b6dee7;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.my-time-badge--interactive {
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.my-time-badge--interactive:hover,
.my-time-badge--interactive:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(40, 19, 0, 0.18);
}

.my-time-badge--interactive:focus-visible {
  outline: 2px solid rgba(182, 222, 231, 0.95);
  outline-offset: 2px;
}

.my-profile-card .my-name-line strong,
.my-profile-card .my-care-profile p {
  color: #fff;
}

.my-care-profile p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.98);
  font-size: 0.98rem;
  line-height: 1.55;
}

.my-care-profile strong {
  display: block;
  margin: 0 0 4px;
  color: #b6dee7;
  font-size: inherit;
  font-weight: 700;
}

.my-group-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.my-group-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.my-group-section__head strong {
  color: #fff;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.25;
}

.my-group-section__head small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.my-group-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.my-group-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 11px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.my-group-item__meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.my-group-item__badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.my-group-item__meta-row small {
  min-width: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  line-height: 1.35;
}

.my-group-item__title {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 0.98rem;
  line-height: 1.35;
}

.my-group-item__title strong {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.my-group-item__title:hover,
.my-group-item__title:focus-visible {
  opacity: 0.93;
}

.my-group-item__title:focus-visible {
  outline: 2px solid rgba(182, 222, 231, 0.95);
  outline-offset: 3px;
}

.my-group-empty {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.5;
}

.my-activity-card {
  padding: 10px 18px;
}

.my-activity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 54px;
  border-top: 1px solid rgba(217, 234, 240, 0.82);
  text-align: left;
}

.my-activity-row:first-child {
  border-top: 0;
}

.my-activity-row span {
  color: #28323a;
  font-weight: 650;
}

.my-activity-row strong {
  color: #1f272d;
  font-size: 1.05rem;
}

.my-inbox-card {
  padding: 16px;
}

.my-trace-card {
  padding: 16px;
}

.trace-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  column-gap: 8px;
  row-gap: 3px;
  width: 100%;
  padding: 12px 0;
  border-top: 1px solid rgba(217, 234, 240, 0.82);
  text-align: left;
}

.trace-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.trace-row span {
  grid-row: 1 / span 2;
  color: var(--blue-700);
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.15;
}

.trace-row__body {
  min-width: 0;
}

.trace-row__title {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
}

.detail-title-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.detail-title-button strong {
  color: inherit;
  font: inherit;
  font-weight: 800;
}

.detail-title-button--preview strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
  word-break: keep-all;
}

.trace-row__title strong {
  color: inherit;
  font: inherit;
  font-weight: 800;
  display: -webkit-box;
  overflow: hidden;
  white-space: normal;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.trace-row strong {
  min-width: 0;
  color: #28323a;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.25;
}

.trace-row small {
  color: #9aa5ad;
  font-size: 0.82rem;
}

.inbox-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(217, 234, 240, 0.82);
}

.inbox-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.inbox-item strong {
  display: block;
  margin-top: 9px;
  font-size: 0.98rem;
  line-height: 1.4;
}

.hello-reply-line {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
}

.hello-reply-line strong {
  margin-top: 9px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inbox-item--hello .detail-title-button.hello-reply-line--content {
  display: block;
  width: 100%;
}

.inbox-item--hello .detail-title-button.hello-reply-line--content strong {
  display: -webkit-box;
  white-space: normal;
  overflow: hidden;
  text-overflow: clip;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.inbox-item__body {
  min-width: 0;
  flex: 1 1 auto;
}

.inbox-item__top {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: 100%;
}

.inbox-item__top .badge {
  flex: 0 0 auto;
  max-width: 92px;
}

.inbox-item--hello {
  display: block;
  padding: 14px 0;
}

.inbox-item--hello .inbox-item__body {
  display: block;
  min-width: 0;
}

.inbox-item--hello .inbox-item__top {
  margin-bottom: 10px;
}

.inbox-item--hello .post-actions {
  margin-left: auto;
  align-self: center;
}

.inbox-item--hello .inbox-hello-reply-button {
  width: 38px;
  height: 38px;
}

.inbox-item--hello .inbox-hello-reply-button img {
  width: 24px;
  height: 24px;
}

.inbox-item--hello .detail-title-button {
  display: block;
  width: 100%;
  margin: 0;
  text-align: left;
}

.inbox-item--hello .detail-title-button strong {
  display: block;
  line-height: 1.35;
}

.inbox-item__schedule {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--blue-700);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inbox-meta-inline {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inbox-item .post-actions {
  margin-left: auto;
  align-self: center;
}

.inbox-item__headline {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  margin-top: 9px;
}

.inbox-item__headline .detail-title-button {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}

.inbox-item__headline .detail-title-button strong {
  margin-top: 0;
}

.inbox-item__headline-action {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  margin-left: auto;
}

.post-card__headline,
.mock-home-list-item__headline {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  margin-top: 12px;
}

.post-card__headline .detail-title-button,
.mock-home-list-item__headline .detail-title-button {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}

.post-card__headline .detail-title-button strong,
.mock-home-list-item__headline .detail-title-button strong {
  margin-top: 0;
}

.post-card__headline-action,
.mock-home-list-item__headline-action {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  margin-left: auto;
}

.post-card__headline-action .inbox-confirm-button,
.mock-home-list-item__headline-action .inbox-confirm-button {
  min-width: 84px;
}

.inbox-item__confirm-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.inbox-confirm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: linear-gradient(180deg, #33b9e5 0%, #29bbe3 100%);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 16px rgba(41, 187, 227, 0.16);
  cursor: pointer;
  position: relative;
  z-index: 6;
  pointer-events: auto;
  touch-action: manipulation;
}

.inbox-confirm-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(41, 187, 227, 0.2);
}

.inbox-confirm-button:active {
  transform: translateY(0);
  box-shadow: 0 6px 12px rgba(41, 187, 227, 0.14);
}

.support-choice {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(182, 222, 231, 0.94);
  background: rgba(182, 222, 231, 0.1);
}

.support-confirm-panel .activity-list {
  max-height: min(46vh, 380px);
  overflow: auto;
}

.support-confirm-panel .wide-button {
  margin-bottom: 0;
  white-space: nowrap;
  writing-mode: horizontal-tb;
}

.support-choice + .support-choice {
  margin-top: 10px;
}

.support-choice input[type="radio"],
.support-choice input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--blue-700);
}

.support-choice__body {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.support-choice__head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.support-choice__head strong {
  color: #243644;
  font-size: 0.95rem;
}

.support-choice__head small {
  color: var(--blue-700);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.support-choice__message {
  color: #58636e;
  font-size: 0.9rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.support-choice--selected {
  border-color: rgba(41, 187, 227, 0.78);
  background: rgba(182, 222, 231, 0.18);
}

.inbox-item p {
  margin: 5px 0 0;
  display: flex;
  gap: 4px;
  flex-wrap: nowrap;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.inbox-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  color: var(--muted);
  white-space: nowrap;
}

.inbox-side small {
  padding-top: 7px;
}

.inbox-side .plain-icon {
  color: var(--blue-700);
}

.trace-comment {
  margin-left: 6px;
  color: #9aa5ad;
  vertical-align: -3px;
}

.trace-comment svg {
  width: 15px;
  height: 15px;
}

.simple-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.simple-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.simple-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.notice-list-card {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.notice-title-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 66px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}

.notice-title-box__action {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid rgba(41, 187, 227, 0.34);
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-700);
  font-size: 0.72rem;
  font-weight: 750;
  white-space: nowrap;
}

.notice-title-box strong {
  color: #fff;
  font-family:
    "YanoljaYache", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.dashboard-title-box {
  min-height: 66px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}

.dashboard-title-box strong {
  color: #fff;
  font-family:
    "YanoljaYache", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.notice-item + .notice-item {
  margin-top: 0;
  padding-top: 18px;
  border-top: 0;
}

.notice-item {
  cursor: pointer;
  margin-bottom: 0;
  padding: 18px 16px;
}

.notice-item__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.notice-item__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.notice-item__actions button {
  min-height: 26px;
  padding: 0 8px;
  border-radius: 10px;
  border: 1px solid rgba(41, 187, 227, 0.34);
  background: rgba(255, 255, 255, 0.92);
  color: #52606a;
  font-size: 0.72rem;
  font-weight: 750;
}

.notice-item--active {
  background: #fff;
  border-color: rgba(182, 222, 231, 0.72);
  border-radius: var(--radius-xl);
  padding: 18px 16px;
  margin: 0;
}

.notice-item--active + .notice-item {
  margin-top: 0;
}

.notice-item strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.45;
}

.notice-item p {
  margin: 8px 0;
  color: #46515b;
  font-size: 0.94rem;
  line-height: 1.55;
}

.notice-item small {
  color: #9aa5ad;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
  grid-auto-rows: 1fr;
}

.dashboard-period-card {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.dashboard-period-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.dashboard-period-separator {
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.dashboard-period-row select {
  width: 100%;
  min-height: 44px;
  border-radius: 16px;
  font-size: 0.9rem;
  font-weight: 800;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 0 8px;
}

.stat-card {
  min-height: 92px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 0;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 0;
}

.stat-card strong {
  font-size: 1.55rem;
  color: var(--blue-700);
}

.stat-card__value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.stat-card__value strong {
  font-size: 1.55rem;
  color: var(--blue-700);
}

.stat-card__value:active {
  transform: translateY(1px);
}

.dashboard-count-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--ink);
  font-weight: 700;
}

.simple-list li.dashboard-count-row {
  color: var(--ink);
}

.dashboard-count-link,
.dashboard-empty-count {
  color: var(--blue-700);
  font-weight: 800;
  white-space: nowrap;
}

.dashboard-count-link {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.dashboard-list-panel {
  display: grid;
  gap: 0;
}

.dashboard-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.dashboard-list-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.dashboard-list-row__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.dashboard-list-row__body strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
  word-break: keep-all;
}

.dashboard-list-row__body small {
  color: var(--muted);
  line-height: 1.4;
}

.dashboard-list-empty {
  color: var(--muted);
  margin: 0;
}

.section-head h2 {
  color: var(--blue-700);
  font-family:
    "YanoljaYache", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100vw, 430px);
  display: grid;
  grid-template-columns: 46px repeat(4, minmax(0, 1fr)) 46px;
  gap: 4px;
  align-items: center;
  justify-content: stretch;
  box-sizing: border-box;
  min-height: 64px;
  padding: 6px max(12px, env(safe-area-inset-right, 0px))
    max(4px, env(safe-area-inset-bottom, 0px))
    max(12px, env(safe-area-inset-left, 0px));
  background: rgba(106, 58, 7, 0.96);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(182, 222, 231, 0.3);
  z-index: 40;
}

body[data-current-tab="sosWrite"] .app-shell,
body[data-current-tab="recordWrite"] .app-shell,
body[data-current-tab="shareWrite"] .app-shell,
body[data-current-tab="careCompose"] .app-shell,
body[data-current-tab="groupWrite"] .app-shell,
body[data-current-tab="groupPostWrite"] .app-shell {
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 32px);
}

body[data-current-tab="sosWrite"] .bottom-nav,
body[data-current-tab="recordWrite"] .bottom-nav,
body[data-current-tab="shareWrite"] .bottom-nav,
body[data-current-tab="careCompose"] .bottom-nav,
body[data-current-tab="groupWrite"] .bottom-nav,
body[data-current-tab="groupPostWrite"] .bottom-nav,
body[data-current-tab="sosWrite"] .ai-badge,
body[data-current-tab="recordWrite"] .ai-badge,
body[data-current-tab="shareWrite"] .ai-badge,
body[data-current-tab="careCompose"] .ai-badge,
body[data-current-tab="groupWrite"] .ai-badge,
body[data-current-tab="groupPostWrite"] .ai-badge {
  display: none;
}

body[data-current-tab="signup"] .bottom-nav {
  display: grid !important;
}

body.is-field-focused .bottom-nav {
  display: none;
}

body[data-current-tab="signup"].is-field-focused .bottom-nav {
  display: grid !important;
}

body[data-current-tab="sosWrite"] .app-shell,
body[data-current-tab="recordWrite"] .app-shell,
body[data-current-tab="shareWrite"] .app-shell,
body[data-current-tab="careCompose"] .app-shell,
body[data-current-tab="groupWrite"] .app-shell,
body[data-current-tab="groupPostWrite"] .app-shell {
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 118px) !important;
}

body[data-current-tab="sosWrite"] .bottom-nav,
body[data-current-tab="recordWrite"] .bottom-nav,
body[data-current-tab="shareWrite"] .bottom-nav,
body[data-current-tab="careCompose"] .bottom-nav,
body[data-current-tab="groupWrite"] .bottom-nav,
body[data-current-tab="groupPostWrite"] .bottom-nav,
body.is-field-focused .bottom-nav {
  display: grid !important;
}

.nav-item {
  position: relative;
  min-height: 42px;
  border-radius: 16px;
  min-width: 0;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b6dee7;
  font-size: 0.84rem;
  font-weight: 650;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  text-align: center;
  line-height: 1.05;
}

.nav-label {
  display: inline-block;
}

.nav-label--stacked {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.02;
}

.nav-item--icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-item--has-alert::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cf8230;
  border: 0;
  box-shadow: none;
}

.nav-item svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-item.is-active {
  background: rgba(182, 222, 231, 0.18);
  color: #f7fdff;
  font-weight: 650;
}

.trace-row--clickable {
  cursor: pointer;
}

.ai-badge {
  position: fixed;
  right: max(
    calc(env(safe-area-inset-right, 0px) + 4px),
    calc((100vw - min(100vw, 430px)) / 2 + 4px)
  );
  bottom: var(--floating-ai-badge-bottom);
  width: 60px;
  height: 60px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 10px 20px rgba(41, 187, 227, 0.12);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

body.is-ai-paused .home-insight-button,
body.is-ai-paused .care-compose-ai-card,
body.is-ai-paused .group-detail-insight-button,
body.is-ai-paused [data-panel="insight"] {
  display: none !important;
}

.ai-badge--asset {
  background: transparent;
  box-shadow: 0 10px 20px rgba(41, 187, 227, 0.16);
}

.ai-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body:not([data-current-tab="sosWrite"]):not(
    [data-current-tab="recordWrite"]
  ):not([data-current-tab="shareWrite"]):not(
    [data-current-tab="careCompose"]
  ):not([data-current-tab="groupWrite"]):not(
    [data-current-tab="groupPostWrite"]
  )
  .ai-badge {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: none !important;
}

body.is-ai-chat-open .ai-badge {
  display: none !important;
}

.bubble-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px 18px calc(env(safe-area-inset-bottom, 0px) + 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: rgba(31, 39, 45, 0.24);
}

.bubble-backdrop--center {
  align-items: center;
  padding: 18px;
}

.ai-chat-backdrop {
  z-index: 120;
}

.bubble-backdrop:not(.ai-chat-backdrop) {
  z-index: 130;
}

.bubble-backdrop--above-ai {
  z-index: 10020;
}

.annyeong-time-log-backdrop {
  z-index: 10030;
}

.profile-popup-backdrop {
  background: rgba(31, 39, 45, 0.18);
}

.profile-popup-shell {
  position: relative;
  width: min(394px, 100%);
}

.profile-popup-close {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 2;
}

.bubble-panel {
  position: relative;
  z-index: 1;
  width: min(394px, 100%);
  max-height: calc(100dvh - 36px);
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 20px 18px 18px;
  border-radius: 28px 28px 20px 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(182, 222, 231, 0.8);
  box-shadow: 0 22px 60px rgba(21, 80, 98, 0.22);
}

.bubble-panel::after {
  display: none;
}

.bubble-panel h2 {
  margin: 0 78px 12px 0;
  color: var(--blue-700);
  font-family:
    "YanoljaYache", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 1.46rem;
  line-height: 1.2;
}

.bubble-panel p,
.bubble-panel li {
  color: #46515b;
  font-size: 0.92rem;
  line-height: 1.55;
}

.ai-care-panel__lead {
  margin-bottom: 14px;
}

.ai-care-panel__action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.ai-care-panel__result {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.ai-care-panel__summary {
  display: grid;
  gap: 10px;
  padding: 14px 15px;
  border-radius: 18px;
  background: rgba(182, 222, 231, 0.18);
  border: 1px solid rgba(182, 222, 231, 0.58);
}

.ai-care-panel__summary-row {
  display: grid;
  gap: 4px;
}

.ai-care-panel__summary-row strong {
  color: var(--text);
  font-size: 0.82rem;
}

.ai-care-panel__summary-row span {
  color: #46515b;
  font-size: 0.94rem;
  line-height: 1.45;
}

.ai-care-panel__questions {
  margin-top: 4px;
}

.ai-care-panel__helper {
  margin-bottom: 2px;
  color: var(--muted);
}

.ai-chat-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: min(78dvh, 760px);
  max-height: min(78dvh, 760px);
  background: #fff;
  overflow: hidden;
  overscroll-behavior: contain;
}

.ai-chat-panel--full {
  width: min(430px, 100%);
}

.ai-chat-panel__hero {
  padding: 4px 2px 0;
}

.ai-chat-panel__hero h2 {
  margin: 0;
  color: var(--blue-700);
  font-family:
    "YanoljaYache", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: clamp(2rem, 5.8vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.ai-chat-panel__hero h2 span {
  color: inherit;
}

.ai-chat-panel__messages {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 8px 12px 4px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border-radius: 0;
  box-shadow: inset 0 1px 0 rgba(41, 187, 227, 0.04);
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(41, 187, 227, 0.48) transparent;
}

.ai-chat-panel__messages::-webkit-scrollbar {
  width: 10px;
}

.ai-chat-panel__messages::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 999px;
}

.ai-chat-panel__messages::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    rgba(41, 187, 227, 0.46) 0%,
    rgba(31, 159, 204, 0.74) 100%
  );
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.92);
}

.ai-chat-panel__messages::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    rgba(41, 187, 227, 0.64) 0%,
    rgba(31, 159, 204, 0.88) 100%
  );
}

.ai-chat-panel__messages::-webkit-scrollbar-corner {
  background: transparent;
}

.ai-chat-message {
  display: grid;
  gap: 6px;
  padding: 0;
  border-radius: 0;
  width: 100%;
  max-width: 100%;
  background: transparent;
  border: 0;
}

.ai-chat-message--assistant {
  justify-self: start;
  justify-items: start;
}

.ai-chat-message--user {
  justify-self: end;
  justify-items: end;
}

.ai-chat-message__meta {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0 4px;
  color: #5f7781;
  font-size: 0.76rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ai-chat-message--user .ai-chat-message__meta {
  color: #1b6685;
}

.ai-chat-message__avatar {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2fc0e7 0%, #1f9fcc 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 16px rgba(41, 187, 227, 0.18);
}

.ai-chat-message--user .ai-chat-message__avatar {
  background: linear-gradient(180deg, #1f9fcc 0%, #167ea4 100%);
}

.ai-chat-message__bubble {
  position: relative;
  width: fit-content;
  max-width: 92%;
}

.ai-chat-message--assistant .ai-chat-message__bubble {
  width: 100%;
  max-width: 100%;
}

.ai-chat-message__bubble--assistant {
  padding: 14px 15px 15px;
  border-radius: 22px 22px 22px 10px;
  background: linear-gradient(
    180deg,
    rgba(247, 252, 253, 0.98) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  border: 1px solid rgba(41, 187, 227, 0.18);
  box-shadow: 0 12px 24px rgba(41, 187, 227, 0.08);
}

.ai-chat-message__bubble--user {
  padding: 13px 15px 14px;
  border-radius: 22px 22px 10px 22px;
  background: linear-gradient(180deg, #2fc0e7 0%, #1f9fcc 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 22px rgba(41, 187, 227, 0.16);
}

.ai-chat-message--assistant .ai-chat-message__bubble {
  justify-self: start;
}

.ai-chat-message--user .ai-chat-message__bubble {
  justify-self: end;
}

.ai-chat-message__text {
  font-size: 0.98rem;
  line-height: 1.65;
  white-space: pre-wrap;
  color: #1d242b;
  text-align: left;
}

.ai-chat-message__text--assistant {
  display: grid;
  gap: 10px;
  white-space: normal;
  color: var(--brown-800);
}

.ai-chat-message__text--assistant p,
.ai-chat-message__text--assistant ul,
.ai-chat-message__text--assistant ol,
.ai-chat-message__text--assistant blockquote {
  margin: 0;
}

.ai-chat-message__text--assistant p + p,
.ai-chat-message__text--assistant p + ul,
.ai-chat-message__text--assistant p + ol,
.ai-chat-message__text--assistant ul + p,
.ai-chat-message__text--assistant ol + p,
.ai-chat-message__text--assistant blockquote + p {
  margin-top: 10px;
}

.ai-chat-message__text--assistant ul,
.ai-chat-message__text--assistant ol {
  padding-left: 20px;
}

.ai-chat-message__text--assistant li + li {
  margin-top: 4px;
}

.ai-chat-message__text--assistant strong {
  color: inherit;
  font-weight: 800;
}

.ai-chat-message__text--assistant .ai-chat-answer__heading {
  margin: 0 0 6px;
  color: var(--brown-800);
  font-size: 1.02rem;
  line-height: 1.45;
  font-weight: 800;
}

.ai-chat-message__text--assistant .ai-chat-answer__subheading {
  margin: 12px 0 6px;
  color: var(--brown-800);
  font-size: 0.98rem;
  line-height: 1.45;
  font-weight: 800;
}

.ai-chat-message__text--assistant code {
  padding: 0 4px;
  border-radius: 5px;
  background: rgba(41, 187, 227, 0.11);
  color: inherit;
  font-size: 0.94em;
}

.ai-chat-message__text--assistant .ai-chat-answer__meta-row {
  display: inline;
  margin: 0;
}

.ai-chat-message__text--assistant .ai-chat-answer__meta-row--plain {
  gap: 0;
}

.ai-chat-message__text--assistant .ai-chat-answer__meta-row--rich {
  gap: 4px;
}

.ai-chat-message__text--assistant .ai-chat-answer__meta-label {
  color: inherit;
  font-weight: 800;
}

.ai-chat-message__text--assistant .ai-chat-answer__meta-value-wrap {
  display: inline;
  white-space: normal;
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.ai-chat-message__bubble--user .ai-chat-message__text {
  color: #fff;
  text-align: left;
}

.ai-chat-message__bubble--user .ai-chat-message__text strong {
  color: #fff;
}

.ai-chat-message__bubble--user .ai-chat-message__text code {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.ai-chat-answer-card {
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 14px 16px 15px;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(247, 252, 253, 0.98) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  border: 1px solid rgba(41, 187, 227, 0.16);
  box-shadow: 0 10px 22px rgba(41, 187, 227, 0.08);
}

.ai-chat-answer-card__title {
  color: var(--brown-800);
  font-size: 1.03rem;
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ai-chat-answer-card__meta {
  display: grid;
  gap: 7px;
}

.ai-chat-answer-card__row {
  display: grid;
  grid-template-columns: minmax(76px, 96px) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.ai-chat-answer-card__label {
  color: #67818c;
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 700;
}

.ai-chat-answer-card__value {
  color: #1d242b;
  font-size: 0.94rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.ai-chat-answer-card__body {
  display: grid;
  gap: 6px;
  color: #1d242b;
  font-size: 0.94rem;
  line-height: 1.55;
}

.ai-chat-answer-card__body p {
  margin: 0;
}

.ai-chat-answer-card__body p + p {
  margin-top: 0;
}

.ai-chat-answer-flow {
  display: grid;
  gap: 6px;
  width: 100%;
  color: #1d242b;
  font-size: 0.94rem;
  line-height: 1.55;
}

.ai-chat-answer-flow p,
.ai-chat-answer-flow ul,
.ai-chat-answer-flow ol,
.ai-chat-answer-flow blockquote {
  margin: 0;
}

.ai-chat-answer-flow ul,
.ai-chat-answer-flow ol {
  padding-left: 20px;
}

.ai-chat-answer-flow li + li {
  margin-top: 4px;
}

.ai-chat-answer-prompt {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 2px 2px 0;
}

.ai-chat-answer-prompt__title {
  color: var(--brown-800);
  font-size: 1.03rem;
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ai-chat-answer-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-chat-answer-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(41, 187, 227, 0.24);
  background: linear-gradient(
    180deg,
    rgba(236, 248, 251, 0.98) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  color: var(--brown-800);
  font-size: 0.92rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 18px rgba(41, 187, 227, 0.07);
}

.ai-chat-answer-card__action:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(41, 187, 227, 0.11);
}

.ai-chat-message .ai-chat-answer-card__actions--stack {
  display: grid;
  gap: 6px;
  width: 100%;
}

.ai-chat-message .ai-chat-answer-card__action--post {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid rgba(41, 187, 227, 0.24);
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(243, 251, 253, 0.98) 100%
  );
  box-shadow: 0 6px 14px rgba(41, 187, 227, 0.08);
  color: var(--brown-800);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease,
    background-color 0.15s ease;
}

.ai-chat-message .ai-chat-answer-card__action--post:hover {
  transform: translateY(-1px);
  border-color: rgba(41, 187, 227, 0.36);
  box-shadow: 0 8px 18px rgba(41, 187, 227, 0.11);
}

.ai-chat-message .ai-chat-answer-card__action--post:focus-visible {
  outline: 2px solid rgba(41, 187, 227, 0.28);
  outline-offset: 2px;
}

.ai-chat-message .ai-chat-answer-card__action--post:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(41, 187, 227, 0.08);
}

.ai-chat-message .ai-chat-answer-card__action-kicker {
  display: none;
}

.ai-chat-message .ai-chat-answer-card__action-title {
  color: inherit;
  font-size: inherit;
  line-height: 1;
  font-weight: inherit;
  overflow-wrap: anywhere;
  white-space: nowrap;
}

.ai-chat-message .ai-chat-answer-inline-action {
  display: grid;
  gap: 6px;
  width: 100%;
  margin: 0;
}

.ai-chat-answer-post {
  display: grid;
  gap: 6px;
  width: 100%;
  margin: 0 0 10px;
}

.ai-chat-answer-post:last-child {
  margin-bottom: 0;
}

.ai-chat-search-summary {
  display: grid;
  gap: 8px;
  width: 100%;
  margin: 2px 0 12px;
  padding: 2px 4px 2px 6px;
  border-left: 3px solid rgba(41, 187, 227, 0.38);
  background: transparent;
}

.ai-chat-search-summary__title {
  color: var(--brown-800);
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ai-chat-search-summary__meta {
  display: grid;
  gap: 7px;
}

.ai-chat-search-summary__row {
  display: grid;
  grid-template-columns: minmax(76px, 96px) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.ai-chat-search-summary__label {
  color: #67818c;
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 700;
}

.ai-chat-search-summary__value {
  color: #1d242b;
  font-size: 0.94rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.ai-chat-search-summary__extra {
  display: grid;
  gap: 6px;
  color: #1d242b;
  font-size: 0.94rem;
  line-height: 1.55;
}

.ai-chat-search-summary__extra p {
  margin: 0;
}

.ai-chat-followup {
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 14px 16px 15px;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(247, 252, 253, 0.98) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  border: 1px solid rgba(41, 187, 227, 0.16);
  box-shadow: 0 10px 22px rgba(41, 187, 227, 0.08);
  margin-top: 2px;
}

.ai-chat-followup__lead {
  margin: 0;
  color: var(--brown-800);
  font-size: 1.03rem;
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ai-chat-followup__body {
  display: grid;
  gap: 6px;
  color: #1d242b;
  font-size: 0.94rem;
  line-height: 1.55;
}

.ai-chat-followup__body p,
.ai-chat-followup__body ul,
.ai-chat-followup__body ol,
.ai-chat-followup__body blockquote {
  margin: 0;
}

.ai-chat-followup__body p + p,
.ai-chat-followup__body p + ul,
.ai-chat-followup__body p + ol,
.ai-chat-followup__body ul + p,
.ai-chat-followup__body ol + p,
.ai-chat-followup__body blockquote + p {
  margin-top: 0;
}

.ai-chat-followup__body ul,
.ai-chat-followup__body ol {
  padding-left: 20px;
}

.ai-chat-followup__body li + li {
  margin-top: 4px;
}

.ai-chat-message__loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4a5761;
  font-size: 0.94rem;
  line-height: 1.5;
}

.ai-chat-message__loading-text {
  font-weight: 600;
}

.ai-chat-message__loading-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ai-chat-message__loading-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #29bbe3;
  animation: aiChatTypingPulse 1.2s infinite ease-in-out;
}

.ai-chat-message__loading-dots span:nth-child(2) {
  animation-delay: 0.16s;
}

.ai-chat-message__loading-dots span:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes aiChatTypingPulse {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  40% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

.ai-chat-message--user .ai-chat-message__text {
  color: #fff;
  text-align: left;
  font-weight: 500;
}

.ai-chat-message__sources {
  display: none;
}

.ai-chat-message__source {
  display: none;
}

.ai-chat-panel__composer {
  display: grid;
  gap: 0;
  flex: 0 0 auto;
}

.ai-chat-panel__composer-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(90, 103, 115, 0.45);
  background: #fff;
}

.ai-chat-panel__composer [data-ai-chat-input] {
  width: 100%;
  min-width: 0;
  height: 26px;
  line-height: 26px;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  font-size: 16px;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
  cursor: text;
  user-select: text;
  resize: none;
  font: inherit;
}

.ai-chat-panel.is-loading .ai-chat-panel__composer-box {
  opacity: 0.96;
}

.ai-chat-panel.is-loading [data-ai-chat-input] {
  caret-color: transparent;
}

.ai-chat-panel.is-loading [data-ai-chat-input]:disabled {
  opacity: 0.72;
  color: #6a7882;
  cursor: wait;
}

.ai-chat-panel__composer [data-ai-chat-input]::placeholder {
  color: #a9b0b7;
  opacity: 1;
}

.ai-chat-panel__composer [data-ai-chat-input]:focus,
.ai-chat-panel__composer [data-ai-chat-input]:focus-visible {
  outline: none;
  box-shadow: none;
}

.ai-chat-send {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.ai-chat-send img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.ai-chat-send svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.ai-chat-send:active {
  transform: scale(0.96);
}

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

.home-share-panel__summary {
  padding: 14px 15px;
  border-radius: 18px;
  background: rgba(182, 222, 231, 0.18);
  border: 1px solid rgba(182, 222, 231, 0.58);
}

.home-share-panel__summary strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.45;
}

.home-share-panel__summary-content {
  margin-top: 8px;
  color: #46515b;
  font-size: 0.94rem;
  line-height: 1.65;
  white-space: normal;
  word-break: break-word;
}

.home-share-panel__summary-content p {
  margin: 0;
}

.home-share-panel__summary-content p + p,
.home-share-panel__summary-content ul,
.home-share-panel__summary-content ol {
  margin-top: 8px;
}

.home-share-panel__summary-content ul,
.home-share-panel__summary-content ol {
  padding-left: 18px;
}

.home-share-panel__actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.bubble-panel input,
.bubble-panel textarea,
.bubble-panel select {
  font-size: 16px;
}

.bubble-panel p {
  margin: 0 0 10px;
}

.mini-form {
  display: grid;
  gap: 16px;
}

.mini-form__field {
  display: grid;
  gap: 8px;
}

.mini-form__field span {
  color: #52606a;
  font-size: 0.8rem;
  font-weight: 700;
}

.mini-form__field input,
.mini-form__field textarea,
.mini-form__field select {
  width: 100%;
  border: 1px solid rgba(182, 222, 231, 0.94);
  border-radius: 14px;
  background: #fff;
  color: #46515b;
  font: inherit;
  font-size: 16px;
  line-height: 1.45;
  padding: 11px 12px;
  resize: none;
}

.mini-form__field input[type="file"] {
  padding: 10px 12px;
  cursor: pointer;
}

.mini-form__field input[type="file"]::file-selector-button {
  margin-right: 12px;
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(41, 187, 227, 0.12);
  color: #1f272d;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
}

.mini-form__field input[type="file"]::file-selector-button:hover {
  background: rgba(41, 187, 227, 0.18);
}

.group-post-image-preview {
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px dashed rgba(182, 222, 231, 0.95);
  border-radius: 18px;
  background: rgba(244, 251, 253, 0.9);
}

.group-post-image-preview__image {
  display: block;
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 14px;
}

.group-post-image-clear {
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(182, 222, 231, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #52606a;
  font-size: 0.82rem;
  font-weight: 800;
}

.group-post-image-clear:hover,
.group-post-image-clear:focus-visible {
  background: rgba(244, 251, 253, 1);
  border-color: rgba(41, 187, 227, 0.62);
  outline: none;
}

.bubble-panel ul {
  margin: 0;
  padding-left: 18px;
}

.is-image-cropper-open {
  overflow: hidden;
}

.image-cropper-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(17, 24, 39, 0.56);
  backdrop-filter: blur(10px);
}

.image-cropper-panel {
  width: min(92vw, 460px);
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(182, 222, 231, 0.9);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.24);
  position: relative;
}

.image-cropper-panel h2 {
  margin: 0;
  padding-right: 34px;
  color: #1f272d;
  font-family:
    "YanoljaYache", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.image-cropper-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(244, 251, 253, 0.96);
  color: #42505a;
  font-size: 1.25rem;
  font-weight: 700;
}

.image-cropper-stage {
  position: relative;
  width: min(82vw, 360px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin: 0 auto;
  border: 1px solid rgba(182, 222, 231, 0.9);
  border-radius: 24px;
  background:
    linear-gradient(
      45deg,
      rgba(244, 251, 253, 0.92),
      rgba(232, 246, 251, 0.98)
    ),
    linear-gradient(0deg, rgba(41, 187, 227, 0.04), rgba(41, 187, 227, 0.04));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.82);
  touch-action: none;
  cursor: default;
}

.image-cropper-stage:active {
  cursor: default;
}

.image-cropper-image {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  max-width: none;
  max-height: none;
  user-select: none;
  -webkit-user-drag: none;
  will-change: left, top, width, height;
}

.image-cropper-frame {
  position: absolute;
  top: 0;
  left: 0;
  border: 2px solid rgba(41, 187, 227, 0.96);
  border-radius: 18px;
  box-shadow:
    0 0 0 9999px rgba(17, 24, 39, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  cursor: move;
  touch-action: none;
}

.image-cropper-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      to right,
      transparent 33.333%,
      rgba(255, 255, 255, 0.75) 33.333%,
      rgba(255, 255, 255, 0.75) calc(33.333% + 1px),
      transparent calc(33.333% + 1px),
      transparent 66.666%,
      rgba(255, 255, 255, 0.75) 66.666%,
      rgba(255, 255, 255, 0.75) calc(66.666% + 1px),
      transparent calc(66.666% + 1px)
    ),
    linear-gradient(
      to bottom,
      transparent 33.333%,
      rgba(255, 255, 255, 0.75) 33.333%,
      rgba(255, 255, 255, 0.75) calc(33.333% + 1px),
      transparent calc(33.333% + 1px),
      transparent 66.666%,
      rgba(255, 255, 255, 0.75) 66.666%,
      rgba(255, 255, 255, 0.75) calc(66.666% + 1px),
      transparent calc(66.666% + 1px)
    );
  pointer-events: none;
  opacity: 0.75;
}

.image-cropper-handle {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #29bbe3;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.24);
}

.image-cropper-handle--nw {
  top: -10px;
  left: -10px;
  cursor: nwse-resize;
}

.image-cropper-handle--ne {
  top: -10px;
  right: -10px;
  cursor: nesw-resize;
}

.image-cropper-handle--sw {
  bottom: -10px;
  left: -10px;
  cursor: nesw-resize;
}

.image-cropper-handle--se {
  right: -10px;
  bottom: -10px;
  cursor: nwse-resize;
}

.image-cropper-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.image-cropper-actions .wide-button {
  min-width: 0;
  padding-inline: 10px;
  font-size: 0.9rem;
}

.bubble-close {
  position: absolute;
  top: 13px;
  right: 13px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #67727b;
  background: rgba(182, 222, 231, 0.18);
  font-size: 1.2rem;
}

.bubble-copy {
  position: absolute;
  top: 14px;
  right: 52px;
  color: var(--brown-700);
  background: rgba(255, 255, 255, 0.82);
  z-index: 3;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  touch-action: manipulation;
}

.bubble-action {
  position: relative;
  z-index: 3;
  width: 100%;
  min-height: 54px;
  margin-top: 8px;
  border-radius: 14px;
  background: var(--blue-700);
  color: #fff;
  font-weight: 750;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
}

.bubble-action-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.bubble-action-row--single-fill {
  display: block;
}

.bubble-action-row--single-fill .bubble-action,
.bubble-action-row--single-fill .wide-button {
  width: 100%;
}

.bubble-action-row--single-center {
  display: flex;
  justify-content: center;
}

.bubble-action-row--single-center .bubble-action,
.bubble-action-row--single-center .wide-button {
  width: min(220px, 100%);
}

.support-confirm-panel .bubble-action-row {
  position: relative;
  z-index: 3;
}

.support-confirm-panel .wide-button {
  position: relative;
  z-index: 4;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
}

.bubble-action--subtle {
  background: rgba(41, 187, 227, 0.12);
  color: var(--blue-700);
  border: 1px solid rgba(41, 187, 227, 0.24);
}

.bubble-action--tiny {
  min-height: 28px;
  padding: 4px 8px;
  font-size: 0.72rem;
}

.reply-hello-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(41, 187, 227, 0.12);
  color: var(--blue-700);
  border: 1px solid rgba(41, 187, 227, 0.24);
  font-size: 0.84rem;
  font-weight: 750;
}

.reply-hello-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin-top: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
}

.reply-hello-icon img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.hello-reply-target {
  margin: 0;
  color: #46515b;
  font-size: 1rem;
  line-height: 1.5;
}

.hello-send-panel .mini-form {
  gap: 10px;
}

.hello-send-panel .mini-form__field {
  margin-bottom: 0;
}

.hello-send-target {
  margin: 0;
  color: #29bbe3 !important;
  font-family:
    "YanoljaYache", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 1.56rem !important;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-align: center;
}

.hello-send-panel .bubble-action-row {
  margin-top: -4px;
}

.hello-send-submit {
  min-height: 54px;
  font-family:
    "YanoljaYache", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 1.56rem;
  line-height: 1.05;
}

.bubble-note {
  margin-top: 8px;
  color: #7a8590;
  font-size: 0.8rem;
  line-height: 1.5;
}

.text-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
}

.text-editor-toolbar__button,
.text-editor-toolbar__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(41, 187, 227, 0.32);
  background: rgba(255, 255, 255, 0.92);
  color: #42505c;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    background-color 0.15s ease;
}

.text-editor-toolbar__button:hover,
.text-editor-toolbar__chip:hover,
.text-editor-toolbar__button:focus-visible,
.text-editor-toolbar__chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(41, 187, 227, 0.62);
  background: rgba(244, 251, 253, 0.98);
  outline: none;
}

.text-editor-toolbar__button--bold {
  border-color: rgba(31, 39, 45, 0.16);
  background: rgba(41, 187, 227, 0.08);
  color: #1f272d;
}

.text-editor-toolbar__colors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.text-editor-toolbar__chip {
  justify-content: center;
  width: 34px;
  min-width: 34px;
  padding: 0;
  gap: 0;
}

.text-editor-toolbar__swatch {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--rich-text-swatch, #29bbe3);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 0 0 1px rgba(31, 39, 45, 0.08);
}

.text-editor-toolbar__hint {
  flex-basis: 100%;
  color: #7a8590;
  font-size: 0.74rem;
  line-height: 1.45;
}

.account-recovery-feedback__id {
  color: #4ab9e8;
  font-weight: 800;
}

.detail-panel {
  display: grid;
  gap: 14px;
}

.detail-panel__header {
  display: grid;
  gap: 6px;
}

.detail-panel__header strong {
  color: #20303d;
  font-size: 1.1rem;
}

.detail-panel__header span {
  color: var(--blue-700);
  font-size: 0.9rem;
  font-weight: 700;
}

.notice-detail__actions {
  justify-content: flex-end;
  margin: 8px 0 10px;
}

.detail-panel__content {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: keep-all;
  line-height: 1.7;
}

.rich-text-display {
  margin: 0;
  color: #46515b;
  font-size: 1rem;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.rich-text-display strong,
.rich-text-display b {
  display: inline;
  color: inherit;
  font-weight: 700;
}

.rich-text-display span {
  display: inline;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  vertical-align: baseline;
}

.rich-text-display code {
  font: inherit;
}

.post-card__content,
.group-post-card__content {
  margin: 8px 0 0;
}

.group-post-detail__content {
  margin: 0;
}

.detail-panel__author {
  margin: 8px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #46515b;
  font-size: 0.9rem;
  font-weight: 700;
}

.detail-panel__author strong {
  color: var(--blue-700);
  font-size: 0.82rem;
}

.detail-panel__rows {
  display: grid;
  gap: 8px;
}

.detail-panel__row {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(41, 187, 227, 0.08);
}

.detail-panel__row--time-send {
  gap: 6px;
}

.detail-panel__row-main {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.detail-panel__row strong {
  color: #56707d;
  font-size: 0.8rem;
}

.detail-panel__row span {
  color: #243644;
  font-size: 0.92rem;
  line-height: 1.45;
}

.profile-send-button {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.profile-send-button img {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.profile-send-button:hover {
  transform: translateY(-1px);
}

.profile-send-button:active {
  transform: translateY(1px);
}

.profile-bubble .profile-handle {
  margin-top: -6px;
  color: #9aa5ad;
  font-size: 0.84rem;
}

.profile-card-bubble {
  width: min(394px, calc(100vw - 36px));
  padding: 18px 16px;
  border-radius: var(--radius-xl);
  background: var(--blue-700);
  border: 1px solid rgba(41, 187, 227, 0.88);
  box-shadow: var(--shadow);
}

.profile-card-bubble::after {
  display: none;
}

.profile-bubble-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-height: 132px;
  padding-right: 28px;
}

.profile-card-bubble .my-name-line strong,
.profile-card-bubble .my-care-profile p,
.profile-card-bubble .my-care-profile strong {
  color: #fff;
}

.profile-card-bubble .my-name-line {
  width: 100%;
  align-items: stretch;
}

.profile-card-bubble .my-name-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.profile-card-bubble .my-name-main strong {
  min-width: 0;
}

.profile-card-bubble .profile-popup-close {
  position: static;
  flex: 0 0 auto;
  align-self: center;
}

.sos-write-actions--triple,
.sos-write-actions--double,
.group-detail-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.sos-write-actions--triple .wide-button,
.sos-write-actions--double .wide-button,
.group-detail-actions .wide-button {
  margin-bottom: 0;
}

.sos-write-actions--double {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bubble-action-row--double-blue {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.bubble-action-row--double-blue .wide-button {
  margin-bottom: 0;
}

.bubble-action-row--double-blue .wide-button,
.bubble-action-row--double-blue .wide-button--muted {
  background: var(--blue-700);
  color: #fff;
  border-color: var(--blue-700);
}

.bubble-action-row--double-blue .account-recovery-cancel-button {
  background: linear-gradient(
    135deg,
    rgba(198, 198, 199, 0.98),
    rgba(198, 198, 199, 0.72)
  );
  color: #41505b;
  border-color: rgba(198, 198, 199, 0.98);
}

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

.activity-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid rgba(217, 234, 240, 0.82);
}

.activity-list-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  grid-column: 1 / -1;
}

.activity-list-item__head-main {
  display: flex;
  align-items: center;
  gap: 8px 10px;
  min-width: 0;
  flex-wrap: wrap;
}

.activity-list-item__head-main > strong {
  margin-bottom: 0;
}

.activity-list-item__head-main--care {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  width: 100%;
  align-items: center;
}

.activity-list-item__care-identity {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  flex-wrap: wrap;
}

.activity-list-item__head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex: 0 0 auto;
  min-width: 0;
  margin-left: auto;
}

.activity-list-item__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.activity-list-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.activity-list-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.96rem;
  color: #28323a;
}

.activity-list-item small {
  display: block;
  color: #7d8792;
  font-size: 0.82rem;
  line-height: 1.4;
}

.annyeong-log-list .activity-list-item {
  padding: 12px 0;
}

.annyeong-log-summary {
  display: grid;
  gap: 4px;
  margin: 12px 0 14px;
  padding: 12px 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(182, 222, 231, 0.18), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(182, 222, 231, 0.72);
}

.annyeong-log-summary strong {
  font-size: 0.92rem;
  color: var(--blue-700);
}

.annyeong-log-summary small {
  color: #6f7881;
  line-height: 1.45;
}

.annyeong-log-people {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.annyeong-log-arrow {
  color: #97a3ad;
  font-size: 0.9rem;
  font-weight: 700;
}

.annyeong-log-detail {
  color: #616b75;
}

.annyeong-log-empty {
  margin: 8px 0 0;
  color: #7a8590;
  font-size: 0.9rem;
  line-height: 1.5;
}

.activity-list-item__content {
  display: block;
  white-space: normal;
  overflow: visible;
  word-break: keep-all;
  overflow-wrap: anywhere;
  color: #39434d;
  font-size: 0.96rem;
  line-height: 1.55;
  grid-column: 1 / -1;
}

.comment-inline-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex: 0 0 auto;
}

.comment-inline-actions .bubble-action {
  min-height: 30px;
  padding: 6px 10px;
  font-size: 0.76rem;
}

.activity-list-item__meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 0 0 auto;
  flex-wrap: wrap;
}

.activity-list-item__time {
  display: inline-flex;
  width: auto;
  white-space: nowrap;
}

.care-comment-author {
  color: #46515b;
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.4;
}

.care-comment-confirm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  min-height: 26px;
  margin-top: 0;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(41, 187, 227, 0.12);
  color: var(--blue-700);
  border: 1px solid rgba(41, 187, 227, 0.24);
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
}

.care-comment-confirm-button:disabled {
  background: rgba(82, 96, 109, 0.08);
  color: #7d8a96;
  border-color: rgba(82, 96, 109, 0.16);
  cursor: default;
  opacity: 1;
}

.care-comment-confirm-panel__nickname {
  margin: 0;
  color: #23313a;
  font-size: 0.98rem;
  font-weight: 700;
}

.care-comment-confirm-panel__comment {
  margin-top: 4px;
}

.care-comment-confirm-panel__meta {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(182, 222, 231, 0.14);
  border: 1px solid rgba(182, 222, 231, 0.58);
}

.care-comment-confirm-panel__meta strong {
  margin: 0;
  font-size: 0.98rem;
  color: #20303d;
}

.care-comment-confirm-panel__meta small {
  color: #6e7881;
  line-height: 1.45;
}

.profile-card-bubble .my-profile-body small {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 8px;
  font-size: 0.86rem;
}

.profile-card-bubble .my-care-profile p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.76rem;
  line-height: 1.42;
}

.profile-card-bubble .my-care-profile strong {
  display: inline;
  margin-right: 4px;
  color: #fff;
  font-size: inherit;
}

@media (max-width: 480px) {
  .profile-bubble-card {
    flex-direction: column;
    gap: 14px;
    min-height: auto;
    padding-right: 0;
  }

  .profile-card-bubble .my-profile-body {
    width: 100%;
    padding-right: 0;
  }
}

.profile-care-line {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(217, 234, 240, 0.9);
}

.profile-care-line strong {
  display: block;
  margin-bottom: 4px;
  color: var(--brown-700);
  font-size: 0.84rem;
}

.profile-care-line p {
  margin: 0;
  color: #46515b;
  font-size: 0.88rem;
}

@media (min-width: 431px) {
  .app-shell {
    border-left: 1px solid rgba(182, 222, 231, 0.3);
    border-right: 1px solid rgba(182, 222, 231, 0.3);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.65),
      0 24px 70px rgba(12, 92, 120, 0.08);
  }
}

@media (max-width: 430px) {
  .app-shell {
    width: 100vw;
    max-width: 100vw;
    overflow-x: clip;
  }

  .screen {
    padding-left: max(12px, env(safe-area-inset-left, 0px));
    padding-right: max(12px, env(safe-area-inset-right, 0px));
  }

  .nav-item {
    min-height: 42px;
    font-size: 0.74rem;
    padding: 0 2px;
  }

  .post-card,
  .feed-item,
  .hello-note,
  .group-card,
  .post-card__top,
  .badge-row--tight,
  .meta-line {
    max-width: 100%;
    min-width: 0;
  }

  .post-card p,
  .post-card strong,
  .feed-item p,
  .feed-item strong {
    max-width: 100%;
  }

  .insight-wide-button {
    padding: 0;
  }

  .insight-wide-button__content {
    gap: 8px;
  }

  .insight-wide-button__title {
    flex: 0 0 216px;
    gap: 6px;
  }

  .insight-wide-button img {
    width: 96px;
  }

  .insight-wide-button__summary {
    font-size: 0.66rem;
    transform: none;
  }

  .bubble-backdrop,
  .bubble-backdrop--center {
    align-items: flex-start;
    padding: max(12px, env(safe-area-inset-top, 0px) + 12px) 12px
      max(12px, env(safe-area-inset-bottom, 0px) + 12px);
  }

  .bubble-backdrop--center.ai-chat-backdrop {
    align-items: center;
    padding: 12px;
  }

  .bubble-panel {
    width: min(394px, calc(100vw - 24px));
    max-height: calc(
      100dvh - env(safe-area-inset-top, 0px) -
        env(safe-area-inset-bottom, 0px) - 24px
    );
    margin: 0 auto;
  }

  .bubble-panel h2 {
    margin: 0 60px 10px 0;
    font-size: 1.38rem;
  }

  .detail-panel {
    gap: 10px;
  }

  .detail-panel__content {
    line-height: 1.62;
  }

  .detail-panel__content.rich-text-display {
    line-height: 1.5;
  }

  .detail-panel__author {
    margin-top: 4px;
  }

  .detail-panel__rows {
    gap: 6px;
  }

  .detail-panel__row {
    grid-template-columns: minmax(84px, 92px) minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 2px;
    padding: 9px 11px;
    align-items: start;
  }

  .detail-panel__row strong {
    margin-top: 1px;
  }

  .detail-panel__row span {
    min-width: 0;
    line-height: 1.4;
  }
}

.ai-chat-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: min(78dvh, 760px);
  max-height: min(78dvh, 760px);
  background: #fff;
  overflow: hidden;
  overscroll-behavior: contain;
}

.ai-chat-panel--full {
  width: min(430px, 100%);
}

.ai-chat-panel__hero {
  padding: 4px 2px 0;
}

.ai-chat-panel__hero h2 {
  margin: 0;
  color: var(--blue-700);
  font-family:
    "YanoljaYache", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: clamp(2rem, 5.8vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.ai-chat-panel__hero h2 span {
  color: inherit;
}

.ai-chat-panel__starters {
  display: grid;
  gap: 6px;
  padding: 2px 0 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.ai-chat-panel__starters-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.ai-chat-panel__starters-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(41, 187, 227, 0.1);
  color: #0f5f7c;
  font-size: 0.74rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.ai-chat-panel__starter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.ai-chat-starter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(41, 187, 227, 0.14);
  background: rgba(41, 187, 227, 0.06);
  color: #1d242b;
  cursor: pointer;
  text-align: left;
  box-shadow: none;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    background-color 0.15s ease,
    color 0.15s ease;
}

.ai-chat-starter:hover {
  transform: translateY(-1px);
  border-color: rgba(41, 187, 227, 0.28);
  background: rgba(41, 187, 227, 0.1);
}

.ai-chat-starter:focus-visible {
  outline: 2px solid rgba(41, 187, 227, 0.24);
  outline-offset: 2px;
}

.ai-chat-starter:active {
  transform: translateY(0);
  background: rgba(41, 187, 227, 0.14);
}

.ai-chat-starter:disabled {
  opacity: 0.68;
  cursor: wait;
  transform: none;
}

.ai-chat-panel__starter-rail {
  display: none;
  align-items: center;
  gap: 8px;
  margin: 0 0 2px;
  padding: 0 2px 2px;
  width: 100%;
  min-width: 0;
}

.ai-chat-panel__starter-rail-list {
  display: flex;
  gap: 14px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 0 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-inline: contain;
  overscroll-behavior-y: contain;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.ai-chat-panel__starter-rail-list::-webkit-scrollbar {
  display: none;
}

.ai-chat-panel__starter-rail-list.is-dragging {
  cursor: grabbing;
}

.ai-chat-starter--rail {
  width: auto;
  flex: 0 0 auto;
  min-height: 32px;
  min-width: clamp(100px, 24vw, 128px);
  padding: 7px 11px;
  border-radius: 999px;
}

.ai-chat-starter--rail .ai-chat-starter__text {
  display: block;
  width: 100%;
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
}

.ai-chat-starter__text {
  text-align: center;
  display: block;
  width: 100%;
  color: inherit;
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.ai-chat-panel--has-history .ai-chat-panel__starters--intro {
  display: none;
}

.ai-chat-panel--has-history.ai-chat-panel--starter-rail-visible
  .ai-chat-panel__starter-rail {
  display: flex;
}

.ai-chat-panel__messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 2px 2px 6px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.ai-chat-message {
  display: grid;
  gap: 4px;
  padding: 0;
  border-radius: 0;
  width: fit-content;
  max-width: 78%;
  background: transparent;
  border: 0;
}

.ai-chat-message--assistant {
  justify-self: start;
  margin-right: auto;
}

.ai-chat-message--user {
  justify-self: end;
  margin-left: auto;
}

.ai-chat-message__text {
  font-size: 0.98rem;
  line-height: 1.65;
  white-space: pre-wrap;
  color: #1d242b;
  text-align: left;
}

.ai-chat-message__text--assistant {
  white-space: normal;
  color: var(--brown-800);
}

.ai-chat-message__text--assistant p,
.ai-chat-message__text--assistant ul,
.ai-chat-message__text--assistant ol,
.ai-chat-message__text--assistant blockquote {
  margin: 0;
}

.ai-chat-message__text--assistant p + p,
.ai-chat-message__text--assistant p + ul,
.ai-chat-message__text--assistant p + ol,
.ai-chat-message__text--assistant ul + p,
.ai-chat-message__text--assistant ol + p,
.ai-chat-message__text--assistant blockquote + p {
  margin-top: 10px;
}

.ai-chat-message__text--assistant ul,
.ai-chat-message__text--assistant ol {
  padding-left: 20px;
}

.ai-chat-message__text--assistant li + li {
  margin-top: 4px;
}

.ai-chat-message__text--assistant strong {
  color: inherit;
  font-weight: 800;
}

.ai-chat-message__text--assistant .ai-chat-answer__heading {
  margin: 0 0 6px;
  color: var(--brown-800);
  font-size: 1.02rem;
  line-height: 1.45;
  font-weight: 800;
}

.ai-chat-message__text--assistant .ai-chat-answer__subheading {
  margin: 12px 0 6px;
  color: var(--brown-800);
  font-size: 0.98rem;
  line-height: 1.45;
  font-weight: 800;
}

.ai-chat-message__text--assistant code {
  padding: 0 4px;
  border-radius: 5px;
  background: rgba(41, 187, 227, 0.11);
  color: inherit;
  font-size: 0.94em;
}

.ai-chat-message__text--assistant .ai-chat-answer__meta-row {
  display: inline;
  margin: 0;
}

.ai-chat-message__text--assistant .ai-chat-answer__meta-row--plain {
  gap: 0;
}

.ai-chat-message__text--assistant .ai-chat-answer__meta-row--rich {
  gap: 4px;
}

.ai-chat-message__text--assistant .ai-chat-answer__meta-label {
  color: inherit;
  font-weight: 800;
}

.ai-chat-message__text--assistant .ai-chat-answer__meta-value-wrap {
  display: inline;
  white-space: normal;
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.ai-chat-message__loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4a5761;
  font-size: 0.94rem;
  line-height: 1.5;
}

.ai-chat-message__loading-text {
  font-weight: 600;
}

.ai-chat-message__loading-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ai-chat-message__loading-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #29bbe3;
  animation: aiChatTypingPulse 1.2s infinite ease-in-out;
}

.ai-chat-message__loading-dots span:nth-child(2) {
  animation-delay: 0.16s;
}

.ai-chat-message__loading-dots span:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes aiChatTypingPulse {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  40% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

.ai-chat-message--user .ai-chat-message__text {
  color: var(--blue-700);
  text-align: right;
  font-weight: 400;
}

.ai-chat-message__sources {
  display: none;
}

.ai-chat-message__source {
  display: none;
}

.ai-chat-panel__composer {
  display: grid;
  gap: 0;
  flex: 0 0 auto;
}

.ai-chat-panel__composer-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(90, 103, 115, 0.45);
  background: #fff;
}

.ai-chat-panel__composer [data-ai-chat-input] {
  width: 100%;
  min-width: 0;
  height: 26px;
  line-height: 26px;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  font-size: 16px;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
  cursor: text;
  user-select: text;
  resize: none;
  font: inherit;
}

.ai-chat-panel.is-loading .ai-chat-panel__composer-box {
  opacity: 0.96;
}

.ai-chat-panel.is-loading [data-ai-chat-input] {
  caret-color: transparent;
}

.ai-chat-panel.is-loading [data-ai-chat-input]:disabled {
  opacity: 0.72;
  color: #6a7882;
  cursor: wait;
}

.ai-chat-panel__composer [data-ai-chat-input]::placeholder {
  color: #a9b0b7;
  opacity: 1;
}

.ai-chat-panel__composer [data-ai-chat-input]:focus,
.ai-chat-panel__composer [data-ai-chat-input]:focus-visible {
  outline: none;
  box-shadow: none;
}

.ai-chat-send {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.ai-chat-send img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.ai-chat-send svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.ai-chat-send:active {
  transform: scale(0.96);
}
/* Make all care selection chips feel clickable */
.choice-group label,
.choice-group input {
  cursor: pointer;
}
