@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
  --color-ivory: #FCFAFA;
  --color-sand: #E3DCCF;
  --color-charcoal: #2C2925;
  --color-text-main: #333333;
  --color-text-sub: #777777;
  --color-gold: #C0A98E;
  
  --font-main: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-ivory);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-break: keep-all;
  overflow-wrap: normal;
}

:where(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  li,
  a,
  button,
  label,
  span,
  strong,
  small
) {
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: pretty;
}

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

li {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
}

input,
textarea,
select {
  font: inherit;
}
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-shell,
.promotion-detail-page,
.treatment-detail-page,
.story-detail-page,
.doctors-page,
.space-page,
.location-page {
  min-height: 100vh;
  background: #fcfaf8;
  overflow-x: clip;
}

.section-inner,
.page-hero-inner,
.content-shell,
.article-shell {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  min-width: 0;
}

.content-shell--narrow,
.article-shell {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  z-index: 100;
  background-color: rgba(252, 250, 248, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(199, 186, 169, 0.45);
  box-shadow: 0 10px 30px rgba(44, 41, 37, 0.04);
  transition: all 0.3s ease;
}

.logo-container {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.2;
  flex-shrink: 0;
}

.logo-main {
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--color-charcoal);
}

.logo-main span {
  color: #dca376;
  font-weight: 500;
  margin-left: 2px;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: #8e857c;
  margin-top: 0.15rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem;
  border: 1px solid rgba(199, 186, 169, 0.55);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.nav-links a {
  padding: 0.65rem 0.8rem;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #5b534b;
  letter-spacing: 0.02em;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  background-color: #f3ece4;
  color: #201b17;
}

.header-cta,
.btn-primary,
.btn-secondary,
.btn-accent,
.btn-light,
.btn-dark,
.btn-kakao,
.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.35rem;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-cta,
.btn-primary,
.btn-dark {
  background-color: var(--color-charcoal);
  color: #fff;
  border-color: var(--color-charcoal);
}

.header-cta:hover,
.btn-primary:hover,
.btn-dark:hover {
  transform: translateY(-1px);
  background-color: #171411;
}

.header-cta:disabled,
.btn-primary:disabled,
.btn-secondary:disabled,
.btn-accent:disabled,
.btn-light:disabled,
.btn-dark:disabled,
.btn-kakao:disabled,
.btn-danger:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-charcoal);
  border-color: rgba(199, 186, 169, 0.8);
}

.btn-secondary:hover {
  background-color: #f4eee7;
}

.btn-accent {
  background-color: #dca376;
  color: #fff;
  border-color: #dca376;
}

.btn-accent:hover {
  transform: translateY(-1px);
  background-color: #cf9365;
}

.btn-light {
  background-color: #fff;
  color: var(--color-charcoal);
  border-color: #fff;
}

.btn-danger {
  background-color: #8f4b33;
  color: #fff;
  border-color: #8f4b33;
}

.btn-danger:hover {
  transform: translateY(-1px);
  background-color: #7a3f2a;
}

.btn-kakao {
  background-color: #fee500;
  color: #2b2520;
  border-color: #fee500;
}

.pc-only {
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-member-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(199, 186, 169, 0.8);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
  color: #3b352f;
  font-size: 0.9rem;
  font-weight: 600;
}

.header-member-link:hover {
  background: #f4eee7;
}

.mobile-menu-btn {
  display: none;
  color: var(--color-charcoal);
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(199, 186, 169, 0.62);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 24px rgba(44, 41, 37, 0.07);
}

.mobile-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100dvh;
  background: linear-gradient(180deg, #fcfaf8 0%, #f3ece4 100%);
  z-index: 150;
  transition: right 0.35s ease;
  padding: calc(0.9rem + env(safe-area-inset-top)) 1rem
    calc(6.8rem + env(safe-area-inset-bottom));
  overflow-y: auto;
}

.mobile-overlay.open {
  right: 0;
}

.mobile-overlay-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.mobile-overlay-label {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.mobile-overlay-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #b27750;
}

.mobile-overlay-title {
  font-size: 1rem;
  font-weight: 600;
  color: #201b17;
}

.mobile-overlay-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 76px;
  height: 42px;
  padding: 0 0.9rem;
  border: 1px solid rgba(199, 186, 169, 0.62);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #2c2925;
  box-shadow: 0 10px 24px rgba(44, 41, 37, 0.07);
}

.mobile-overlay-close span {
  font-size: 0.92rem;
  font-weight: 600;
}

.home-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(28, 24, 20, 0.56);
  backdrop-filter: blur(6px);
}

.home-popup-dialog {
  position: relative;
  width: min(520px, 100%);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(199, 186, 169, 0.68);
  box-shadow: 0 30px 80px rgba(20, 18, 16, 0.28);
}

.home-popup-carousel {
  position: relative;
  overflow: hidden;
  background: #f7f1e8;
  touch-action: pan-y;
}

.home-popup-track {
  display: flex;
  transition: transform 0.28s ease;
  will-change: transform;
}

.home-popup-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(32, 27, 23, 0.72);
  color: #fff;
  box-shadow: 0 10px 24px rgba(20, 18, 16, 0.24);
}

.home-popup-media {
  display: block;
  flex: 0 0 100%;
  width: 100%;
  padding: 0;
  border: none;
  background: #f7f1e8;
  cursor: pointer;
}

.home-popup-media.is-static {
  cursor: default;
}

.home-popup-image {
  width: 100%;
  max-height: 72vh;
  object-fit: cover;
  display: block;
}

.home-popup-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(32, 27, 23, 0.72);
  color: #fff;
  z-index: 2;
}

.home-popup-nav--prev {
  left: 0.85rem;
}

.home-popup-nav--next {
  right: 0.85rem;
}

.home-popup-footer {
  display: grid;
  gap: 1.1rem;
  padding: 1.25rem;
}

.home-popup-copy {
  display: grid;
  gap: 0.45rem;
}

.home-popup-title {
  color: #201b17;
  font-size: 1.2rem;
  font-weight: 600;
}

.home-popup-text {
  color: #6b645b;
  line-height: 1.7;
  font-size: 0.95rem;
}

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

.home-popup-pagination {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-right: auto;
}

.home-popup-count {
  color: #5b534b;
  font-size: 0.9rem;
  font-weight: 600;
}

.home-popup-dots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.home-popup-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(178, 119, 80, 0.24);
  transition: width 0.22s ease, background-color 0.22s ease;
}

.home-popup-dot.is-active {
  width: 20px;
  background: #b27750;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
}

.mobile-nav a {
  padding: 0.92rem 1rem;
  border: 1px solid rgba(199, 186, 169, 0.65);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-charcoal);
  box-shadow: 0 14px 34px rgba(44, 41, 37, 0.05);
}

.mobile-nav-cta {
  margin-top: 0.2rem;
  background-color: var(--color-charcoal) !important;
  color: #fff !important;
  border-color: var(--color-charcoal) !important;
}

.side-nav {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: none;
}

.side-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background-color: rgba(255, 255, 255, 0.92);
  padding: 0.9rem 0.75rem;
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(44, 41, 37, 0.1);
  border: 1px solid rgba(199, 186, 169, 0.55);
}

.side-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: #6b6259;
  transition: color 0.2s ease, transform 0.2s ease;
  padding: 0.45rem 0.35rem;
}

.side-nav-item span {
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
}

.side-nav-item:hover {
  color: #dca376;
  transform: translateY(-1px);
}

.side-nav-item.kakao {
  color: #3a2c1f;
}

.side-nav-item.kakao:hover {
  color: #907100;
}

.side-nav-item.consult {
  color: #b87b51;
}

.page-hero {
  padding: 8.5rem 0 4.5rem;
  border-bottom: 1px solid rgba(199, 186, 169, 0.42);
  background: linear-gradient(180deg, #fcfaf8 0%, #f3ece4 100%);
}

.page-hero--plain {
  background: linear-gradient(180deg, #fcfaf8 0%, #f7f2ec 100%);
}

.page-hero--center .page-hero-inner {
  text-align: center;
}

.page-hero--split .page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 3rem;
  align-items: center;
}

.page-hero-media {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(199, 186, 169, 0.65);
  box-shadow: 0 24px 48px rgba(44, 41, 37, 0.08);
}

.hero {
  padding-top: 7.5rem;
  border-bottom: 1px solid rgba(199, 186, 169, 0.42);
  background: linear-gradient(180deg, #fcfaf8 0%, #f4ece4 100%);
}

.hero-content {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 3.5rem;
  text-align: center;
}

.hero-image-wrapper {
  width: 100%;
  height: 58vh;
  min-height: 380px;
  max-height: 680px;
  overflow: hidden;
  border-top: 1px solid rgba(199, 186, 169, 0.42);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.hero-title,
.page-title {
  font-size: 3rem;
  font-weight: 400;
  color: #201b17;
  line-height: 1.2;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: pretty;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 400;
  color: #201b17;
  line-height: 1.28;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: pretty;
}

.section-title--inverse {
  color: #fff;
}

.hero-subtitle,
.section-desc {
  font-size: 1.05rem;
  color: #6b645b;
  line-height: 1.85;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: pretty;
}

.section-desc {
  max-width: 720px;
}

.section-desc--inverse {
  color: rgba(255, 255, 255, 0.78);
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #b27750;
}

.eyebrow--hero {
  padding: 0.45rem 0.8rem;
  border-radius: 6px;
  border: 1px solid rgba(220, 163, 118, 0.38);
  background: rgba(220, 163, 118, 0.1);
}

.eyebrow--section {
  padding: 0;
  border: 0;
  background: transparent;
  color: #b98057;
}

.eyebrow--inverse {
  color: #f4c49c;
  border-color: rgba(244, 196, 156, 0.28);
  background: rgba(244, 196, 156, 0.08);
}

.eyebrow--section.eyebrow--inverse {
  border: 0;
  background: transparent;
}

.section-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.section-intro--section {
  margin-bottom: 2.25rem;
}

.section-intro--center {
  justify-content: center;
  text-align: center;
}

.section-intro--section.section-intro--center {
  margin-bottom: 2rem;
}

.section-intro--center .section-heading {
  align-items: center;
  max-width: min(1120px, 100%);
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 760px;
}

.section-intro--section .section-heading {
  gap: 0.7rem;
}

.page-hero .section-heading,
.hero .section-heading {
  max-width: min(1200px, 100%);
}

.page-hero .section-desc,
.hero .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.section-divider {
  width: 84px;
  height: 2px;
  background: linear-gradient(90deg, #dca376 0%, rgba(220, 163, 118, 0) 100%);
}

.section-divider--left {
  margin-left: 0;
}

.section-divider--inverse {
  background: linear-gradient(90deg, #f4c49c 0%, rgba(244, 196, 156, 0) 100%);
}

.section-actions,
.action-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.action-row--center {
  justify-content: center;
}

.section-band {
  padding: 5.5rem 0;
  border-top: 1px solid rgba(199, 186, 169, 0.42);
}

.section-band--plain {
  background: #fcfaf8;
}

.section-band--soft {
  background: #f4eee7;
}

.section-band--contrast {
  background: #efe5db;
}

.section-band--dark {
  background: #2c2925;
  color: #fff;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 3rem;
  align-items: center;
}

.split-copy {
  display: grid;
  gap: 1.5rem;
}

.split-media {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(199, 186, 169, 0.65);
  box-shadow: 0 24px 48px rgba(44, 41, 37, 0.08);
}

.split-media img,
.split-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-media--location {
  aspect-ratio: 5 / 6;
}

.split-media--location img {
  object-position: center;
}

.quote-panel {
  padding: 1.5rem;
  border-left: 3px solid #dca376;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  color: #2c2925;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.6;
}

.check-list {
  display: grid;
  gap: 0.95rem;
}

.check-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  color: #5b534b;
  line-height: 1.75;
}

.check-list-mark {
  color: #dca376;
  font-weight: 700;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.mobile-only-carousel {
  display: none;
}

.mobile-loop-carousel {
  margin-top: 1.5rem;
}

.mobile-loop-carousel__viewport {
  overflow: hidden;
  touch-action: pan-y;
}

.mobile-loop-carousel__track {
  display: flex;
}

.mobile-loop-carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 0 0.15rem;
}

.mobile-loop-carousel__slide > * {
  height: 100%;
}

.mobile-loop-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
}

.mobile-loop-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(178, 119, 80, 0.24);
  transition: width 0.22s ease, background-color 0.22s ease;
}

.mobile-loop-carousel__dot.is-active {
  width: 20px;
  background: #b27750;
}

.panel-card,
.story-card,
.promo-card,
.treatment-card {
  min-height: 100%;
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(199, 186, 169, 0.68);
  border-radius: 8px !important;
  box-shadow: 0 16px 40px rgba(44, 41, 37, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.panel-card:hover,
.story-card:hover,
.promo-card:hover,
.treatment-card:hover,
.quick-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(44, 41, 37, 0.1);
  border-color: rgba(220, 163, 118, 0.62);
}

.panel-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  min-width: 0;
}

.panel-card--toned {
  background: #faf5ef;
}

.panel-card--dark {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.item-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #b27750;
}

.feature-image,
.promo-image,
.story-image,
.treatment-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid rgba(199, 186, 169, 0.55);
}

.feature-title {
  font-size: 1.28rem;
  font-weight: 500;
  color: #201b17;
}

.feature-desc {
  color: #6b645b;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: pretty;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #2c2925;
  font-weight: 600;
}

.brand-plus-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--brand-plus-size, 16px);
  color: #dca376;
  font-size: calc(var(--brand-plus-size, 16px) * 1.05);
  font-weight: 500;
  line-height: 1;
  flex-shrink: 0;
  transform: translateY(-0.03em);
}

.link-arrow--light {
  color: #fff;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.quick-link {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 100%;
  padding: 1.25rem 1.1rem;
  background: #fff;
  border: 1px solid rgba(199, 186, 169, 0.68);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(44, 41, 37, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.quick-link strong {
  font-size: 1.02rem;
  font-weight: 600;
  color: #201b17;
}

.quick-link span {
  font-size: 0.9rem;
  color: #6b645b;
  line-height: 1.6;
}

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

.metric-card {
  padding: 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.metric-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.45rem;
  color: #fff;
}

.metric-card span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  font-size: 0.94rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.review-card {
  display: flex;
  flex-direction: column;
}

.review-topline {
  height: 3px;
  background: #dca376;
}

.review-stars {
  display: flex;
  gap: 0.2rem;
  color: #dca376;
}

.review-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(220, 163, 118, 0.28);
  background: #fbf1e6;
  color: #835f45;
  font-size: 0.82rem;
  font-weight: 700;
}

.review-text {
  color: #201b17;
  font-size: 1.08rem;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: pretty;
}

.review-divider {
  height: 1px;
  margin-top: auto;
  background: rgba(199, 186, 169, 0.55);
}

.review-author {
  color: #6b645b;
  font-size: 0.94rem;
}

.story-meta,
.article-meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  color: #8c8277;
  font-size: 0.85rem;
}

.story-category,
.article-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  background: #f7efe5;
  border: 1px solid rgba(220, 163, 118, 0.22);
  color: #855f45;
  font-weight: 600;
}

.event-status-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  background: #f4eee7;
  border: 1px solid rgba(199, 186, 169, 0.42);
  color: #6b645b;
  font-weight: 600;
}

.cta-band {
  padding: 4rem 0;
  background: linear-gradient(135deg, #2c2925 0%, #433d35 100%);
  color: #fff;
}

.cta-band--accent {
  background: linear-gradient(135deg, #d7a177 0%, #bc7f54 100%);
}

.cta-band-content {
  display: grid;
  gap: 1.25rem;
}

.cta-band-content.centered {
  justify-items: center;
  text-align: center;
}

.cta-title {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: pretty;
}

.cta-text {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.8;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: pretty;
}

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

.info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.4rem;
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(199, 186, 169, 0.68);
  box-shadow: 0 14px 34px rgba(44, 41, 37, 0.05);
}

.info-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f2e7da;
  color: #b27750;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-card h3 {
  margin-bottom: 0.4rem;
  color: #201b17;
  font-size: 1rem;
  font-weight: 600;
}

.info-card p {
  color: #6b645b;
  line-height: 1.7;
  font-size: 0.95rem;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: pretty;
}

.stacked-lines {
  display: grid;
  gap: 0.28rem;
}

.stacked-lines span {
  display: block;
}

.stacked-lines--compact {
  gap: 0.18rem;
}

.list-stack {
  display: grid;
  gap: 0.85rem;
}

.bullet-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
}

.bullet-list li {
  display: flex;
  gap: 0.7rem;
  color: #5b534b;
  line-height: 1.75;
}

.bullet-list li::before {
  content: '•';
  color: #dca376;
  font-weight: 700;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.step-card {
  padding: 1.4rem;
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(199, 186, 169, 0.68);
  min-height: 100%;
}

.step-number {
  display: inline-flex;
  margin-bottom: 1rem;
  color: #b27750;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.step-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.7rem;
  color: #201b17;
}

.step-card p {
  color: #6b645b;
  line-height: 1.7;
  font-size: 0.94rem;
}

.article-shell {
  padding: 8rem 0 5rem;
}

.article-header {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.article-image {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(199, 186, 169, 0.65);
  box-shadow: 0 24px 48px rgba(44, 41, 37, 0.08);
  margin-bottom: 2.5rem;
}

.article-content {
  display: grid;
  gap: 1.2rem;
  color: #433d35;
  font-size: 1.05rem;
  line-height: 1.95;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: pretty;
}

.article-content--compact {
  gap: 0.9rem;
  font-size: 1rem;
  line-height: 1.8;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
}

.contact-stack {
  display: grid;
  gap: 1rem;
}

.contact-card {
  padding: 1.5rem;
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(199, 186, 169, 0.68);
  box-shadow: 0 14px 34px rgba(44, 41, 37, 0.05);
}

.contact-card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #f2e7da;
  color: #b27750;
}

.contact-card-icon.kakao {
  background: rgba(254, 229, 0, 0.2);
  color: #5f4e00;
}

.contact-card h3,
.form-card h2 {
  color: #201b17;
  font-size: 1.2rem;
  font-weight: 600;
}

.contact-card p {
  color: #6b645b;
  line-height: 1.7;
  margin-bottom: 1rem;
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: pretty;
}

.contact-number {
  font-size: 1.45rem;
  font-weight: 700;
  color: #201b17;
}

.form-note-list {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
  color: #6b645b;
  font-size: 0.92rem;
  line-height: 1.7;
}

.status-banner {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(199, 186, 169, 0.68);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.status-banner--info {
  background: #fbf6f0;
  color: #5b534b;
}

.status-banner--success {
  background: #f4fbf6;
  border-color: rgba(101, 162, 112, 0.32);
  color: #245032;
}

.status-banner--error {
  background: #fff7f4;
  border-color: rgba(197, 118, 86, 0.3);
  color: #8a3f22;
}

.admin-stack {
  display: grid;
  gap: 1.5rem;
}

.treatment-note-banner {
  margin-top: 0;
}

.treatment-summary-grid {
  margin-top: 1.5rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-question {
  font-size: 1.08rem;
}

.form-card {
  padding: 1.75rem;
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(199, 186, 169, 0.68);
  box-shadow: 0 16px 40px rgba(44, 41, 37, 0.06);
}

.form-copy {
  margin-top: 0.65rem;
  color: #6b645b;
  line-height: 1.7;
}

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

.form-stack {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #5b534b;
}

.input-control,
.select-control,
.textarea-control {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(199, 186, 169, 0.8);
  background: #fff;
  color: #201b17;
}

.input-control:focus,
.select-control:focus,
.textarea-control:focus {
  outline: none;
  border-color: #dca376;
  box-shadow: 0 0 0 4px rgba(220, 163, 118, 0.12);
}

.textarea-control {
  resize: vertical;
  min-height: 150px;
}

.checkbox-row {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: #6b645b;
  font-size: 0.9rem;
  line-height: 1.7;
}

.checkbox-row input {
  margin-top: 0.2rem;
}

.search-shell {
  position: relative;
  margin-bottom: 2rem;
}

.search-shell .input-control {
  padding-right: 3rem;
}

.search-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #b27750;
}

.accordion-list {
  display: grid;
  gap: 1rem;
}

.accordion-item {
  background: #fff;
  border: 1px solid rgba(199, 186, 169, 0.68);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(44, 41, 37, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.accordion-item.open {
  border-color: rgba(220, 163, 118, 0.65);
  box-shadow: 0 18px 40px rgba(44, 41, 37, 0.08);
}

.accordion-trigger {
  width: 100%;
  padding: 1.35rem 1.4rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  text-align: left;
}

.accordion-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f5ece1;
  color: #b27750;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
  font-weight: 700;
  flex-shrink: 0;
}

.accordion-item.open .accordion-badge {
  background: #dca376;
  color: #fff;
}

.accordion-title {
  flex: 1;
  color: #201b17;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.6;
}

.accordion-panel {
  background: #fbf6f0;
  border-top: 1px solid rgba(199, 186, 169, 0.48);
}

.accordion-panel-inner {
  padding: 1.1rem 1.4rem 1.4rem 4.4rem;
  color: #5b534b;
  line-height: 1.8;
}

.empty-state {
  padding: 4rem 1rem;
  text-align: center;
  color: #7f776f;
}

.legal-shell {
  padding: 8rem 0 5rem;
}

.legal-card {
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(199, 186, 169, 0.68);
  box-shadow: 0 16px 40px rgba(44, 41, 37, 0.06);
}

.legal-meta {
  margin-top: 1rem;
  color: #8c8277;
  font-size: 0.92rem;
  text-align: center;
}

.legal-content {
  margin-top: 1.5rem;
  color: #433d35;
  line-height: 1.85;
}

.legal-section + .legal-section {
  margin-top: 1.75rem;
}

.legal-content h4 {
  margin-bottom: 0.8rem;
  color: #201b17;
}

.legal-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.85rem;
  padding-left: 1.2rem;
}

.legal-list li {
  color: #5b534b;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.pricing-table th,
.pricing-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(199, 186, 169, 0.55);
  text-align: left;
}

.pricing-table th:last-child,
.pricing-table td:last-child {
  text-align: right;
}

.pricing-table thead tr {
  background: #fbf6f0;
}

.footer {
  background: #211d19;
  color: #fff;
  padding: 5rem 0 4.5rem;
}

.footer-content {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 1rem;
}

.footer-info {
  display: grid;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-info a {
  color: inherit;
}

.footer-info p {
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: pretty;
}

.footer-meta {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.footer-links a {
  padding: 0.75rem 0.95rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
}

.footer-links a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease,
    color 0.2s ease;
}

.footer-social-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(220, 163, 118, 0.42);
  color: #f6c49d;
}

.footer-legal {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-disclaimer {
  display: grid;
  gap: 0.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.location-map-card {
  overflow: hidden;
  padding: 0;
}

.location-map-copy {
  padding-bottom: 1rem;
}

.location-map-embed {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 0;
}

.location-map-preview {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.9rem;
  padding: 1.5rem;
  background:
    linear-gradient(180deg, rgba(250, 244, 236, 0.95), rgba(244, 233, 221, 0.98)),
    radial-gradient(circle at top, rgba(220, 163, 118, 0.16), transparent 58%);
  text-align: center;
}

.location-map-marker {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(220, 163, 118, 0.18);
  color: #b27750;
}

.location-map-preview strong {
  color: #201b17;
  font-size: 1.05rem;
}

.location-map-preview p {
  max-width: 360px;
  color: #5b534b;
  line-height: 1.7;
}

.location-map-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
}

.location-map-tags span {
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(199, 186, 169, 0.68);
  color: #6b645b;
  font-size: 0.88rem;
}

.location-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem 1.5rem;
}

.auth-layout,
.member-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.auth-layout--single {
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
}

.auth-card {
  min-height: 100%;
}

.helper-text {
  margin-top: 1rem;
  color: #6b645b;
  line-height: 1.7;
}

.helper-text a {
  color: #2c2925;
  font-weight: 600;
}

.oauth-grid,
.demo-account-grid,
.member-panel-stack {
  display: grid;
  gap: 1rem;
}

.oauth-grid {
  margin-top: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.oauth-button {
  min-height: 48px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(199, 186, 169, 0.8);
  border-radius: 6px;
  background: #fff;
  color: #3b352f;
  font-weight: 600;
}

.oauth-button:hover {
  background: #f8f2ec;
}

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

.demo-account-card {
  width: 100%;
  min-height: 100%;
  padding: 1.25rem;
  border: 1px solid rgba(199, 186, 169, 0.7);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  text-align: left;
  display: grid;
  gap: 0.45rem;
}

.demo-account-card strong {
  color: #201b17;
  font-size: 1rem;
}

.demo-account-card span,
.demo-account-card small {
  color: #6b645b;
  line-height: 1.6;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.status-pill.is-approved {
  background: #eef8f0;
  color: #24603c;
  border-color: rgba(36, 96, 60, 0.18);
}

.status-pill.is-pending {
  background: #fbf4ea;
  color: #8a5f2c;
  border-color: rgba(138, 95, 44, 0.2);
}

.status-pill.is-rejected {
  background: #fff3ee;
  color: #8f4b33;
  border-color: rgba(143, 75, 51, 0.2);
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.consent-stack {
  display: grid;
  gap: 0.85rem;
}

.agreement-card {
  max-width: 860px;
  margin: 0 auto;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.case-grid,
.admin-member-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.case-card {
  overflow: hidden;
}

.case-preview,
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(199, 186, 169, 0.55);
}

.case-preview-panel,
.comparison-image-shell {
  position: relative;
  background: #fff;
  overflow: hidden;
}

.case-preview-label {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  background: rgba(32, 27, 23, 0.78);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.case-preview-image,
.comparison-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.case-watermark,
.comparison-watermark {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 2;
  padding: 0.32rem 0.5rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.82);
  color: #4c433c;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  pointer-events: none;
}

.case-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  color: #6b645b;
  font-size: 0.92rem;
}

.comparison-grid {
  gap: 1.5rem;
  margin: 1.5rem 0;
  background: transparent;
}

.comparison-panel .panel-card-body {
  gap: 1rem;
}

.comparison-image-shell {
  border-radius: 8px;
  border: 1px solid rgba(199, 186, 169, 0.68);
}

.comparison-image {
  aspect-ratio: 4 / 4;
  user-select: none;
}

.member-panel-stack {
  margin-top: 1.5rem;
}

.meta-list {
  display: grid;
  gap: 0.8rem;
}

.meta-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(199, 186, 169, 0.42);
}

.meta-list-row span {
  color: #7b726a;
  font-size: 0.92rem;
}

.meta-list-row strong {
  color: #201b17;
  text-align: right;
}

.member-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.stat-card {
  padding: 1.35rem;
  border: 1px solid rgba(199, 186, 169, 0.68);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(44, 41, 37, 0.05);
  min-width: 0;
}

.stat-card strong {
  display: block;
  color: #5b534b;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}

.stat-card span {
  color: #201b17;
  font-size: 1.35rem;
  font-weight: 700;
}

.admin-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.admin-route-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  min-width: 0;
}

.admin-sidebar {
  position: sticky;
  top: 7.5rem;
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
  border: 1px solid rgba(199, 186, 169, 0.68);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(44, 41, 37, 0.05);
  min-width: 0;
}

.admin-sidebar-head {
  display: grid;
  gap: 0.3rem;
}

.admin-sidebar-head h2 {
  color: #201b17;
  font-size: 1.1rem;
}

.admin-sidebar-nav {
  display: grid;
  gap: 0.6rem;
}

.admin-sidebar-link {
  display: grid;
  gap: 0.28rem;
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(199, 186, 169, 0.6);
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  min-width: 0;
}

.admin-sidebar-link strong {
  color: #201b17;
  font-size: 0.96rem;
}

.admin-sidebar-link span {
  color: #6b645b;
  font-size: 0.84rem;
  line-height: 1.5;
}

.admin-sidebar-link.is-active {
  border-color: rgba(220, 163, 118, 0.78);
  box-shadow: 0 18px 36px rgba(44, 41, 37, 0.08);
  transform: translateY(-1px);
}

.admin-sidebar-note {
  color: #6b645b;
  font-size: 0.86rem;
  line-height: 1.65;
}

.admin-content-shell,
.admin-route-panel {
  display: grid;
  gap: 1.5rem;
  min-width: 0;
  width: 100%;
}

.admin-filter-panel {
  flex: 1 1 520px;
  min-width: 0;
}

.admin-section-card {
  overflow: visible;
  min-width: 0;
}

.admin-popup-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.admin-popup-visibility {
  flex: 1 1 260px;
}

.admin-popup-slide-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-popup-slide-card.is-active {
  border-color: rgba(220, 163, 118, 0.78);
  box-shadow: 0 22px 48px rgba(44, 41, 37, 0.1);
}

.admin-popup-slide-top {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.admin-popup-slide-thumb {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(199, 186, 169, 0.62);
  background: #f8f1e8;
  aspect-ratio: 4 / 5;
}

.admin-popup-slide-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-popup-thumb-empty {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  color: #7b726a;
  font-size: 0.82rem;
  text-align: center;
  line-height: 1.5;
}

.admin-popup-slide-copy {
  display: grid;
  gap: 0.35rem;
}

.admin-popup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 1.5rem;
  align-items: start;
}

.admin-popup-form {
  margin-top: 0;
}

.admin-popup-preview {
  min-height: 100%;
}

.admin-popup-image-frame {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(199, 186, 169, 0.62);
  background: #f8f1e8;
  aspect-ratio: 4 / 5;
}

.admin-popup-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-popup-empty {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  color: #6b645b;
  text-align: center;
  line-height: 1.7;
}

.admin-filter-grid {
  display: grid;
  grid-template-columns: minmax(320px, 2.2fr) repeat(4, minmax(110px, 0.8fr));
  gap: 1rem;
  min-width: 0;
}

.admin-filter-grid--cases {
  grid-template-columns: minmax(240px, 1.5fr) repeat(2, minmax(0, 1fr));
}

.admin-filter-grid--cases-extended {
  grid-template-columns: minmax(260px, 1.8fr) repeat(3, minmax(132px, 0.75fr));
}

.admin-filter-grid--members-extended {
  grid-template-columns: minmax(280px, 2fr) repeat(5, minmax(120px, 0.78fr));
}

.admin-filter-grid .form-field {
  min-width: 0;
}

.admin-filter-grid .form-field label {
  white-space: nowrap;
}

.admin-filter-meta {
  margin-top: 0.75rem;
  color: #6b645b;
  font-size: 0.92rem;
  line-height: 1.7;
}

.admin-toolbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.admin-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-mini-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.8rem;
  border-radius: 6px;
  border: 1px solid rgba(199, 186, 169, 0.76);
  background: #fff;
  color: #3b352f;
  font-size: 0.84rem;
  font-weight: 600;
}

.admin-mini-action.is-active {
  background: #2f2924;
  border-color: #2f2924;
  color: #fff;
}

.admin-mini-action:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.admin-mini-action.danger {
  color: #8f4b33;
  border-color: rgba(143, 75, 51, 0.28);
  background: #fff7f4;
}

.admin-empty-card {
  grid-column: 1 / -1;
}

.admin-member-table-shell {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid rgba(199, 186, 169, 0.68);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(44, 41, 37, 0.05);
}

.admin-member-table {
  width: 100%;
  min-width: 1280px;
  border-collapse: collapse;
}

.admin-member-table--selection {
  min-width: 1460px;
}

.admin-member-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 0.8rem 0.9rem;
  background: #faf5ef;
  border-bottom: 1px solid rgba(199, 186, 169, 0.62);
  color: #8c8277;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}

.admin-member-table td {
  padding: 0.8rem 0.9rem;
  border-top: 1px solid rgba(199, 186, 169, 0.45);
  color: #433d35;
  font-size: 0.84rem;
  line-height: 1.45;
  white-space: nowrap;
  vertical-align: middle;
}

.admin-member-table tbody tr:hover td {
  background: #fcfaf8;
}

.admin-member-name,
.admin-member-value {
  color: #201b17;
  font-size: 0.9rem;
  font-weight: 700;
}

.admin-member-id {
  color: #8c8277;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.status-pill--compact {
  min-height: 26px;
  padding: 0.28rem 0.62rem;
  font-size: 0.74rem;
}

.story-category--compact {
  padding: 0.26rem 0.5rem;
  font-size: 0.72rem;
}

.admin-row-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-row-actions--compact {
  margin-top: 0.45rem;
}

.admin-action-cell {
  min-width: 140px;
}

.admin-action-cell--stack {
  min-width: 260px;
}

.admin-action-select {
  min-width: 124px;
  padding: 0.7rem 0.85rem;
  font-size: 0.82rem;
}

.admin-inline-select {
  min-width: 126px;
  padding: 0.68rem 0.82rem;
  font-size: 0.81rem;
}

.admin-action-note {
  display: block;
  margin-top: 0.35rem;
  color: #8c8277;
  font-size: 0.72rem;
  font-weight: 600;
}

.btn-compact {
  padding: 0.52rem 0.72rem;
  font-size: 0.78rem;
  line-height: 1;
  white-space: nowrap;
}

.admin-management-table {
  min-width: 1360px;
}

.admin-order-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid rgba(199, 186, 169, 0.68);
  background: #faf5ef;
  color: #2b241f;
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-muted-value {
  color: #8c8277;
  font-size: 0.78rem;
  font-weight: 600;
}

.admin-case-media {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.admin-case-thumb {
  width: 56px;
  height: 70px;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(199, 186, 169, 0.58);
  background: #f8f1e8;
  flex-shrink: 0;
}

.admin-case-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-state-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.admin-state-pill--published {
  background: rgba(214, 236, 224, 0.72);
  color: #285f47;
}

.admin-state-pill--review {
  background: rgba(246, 232, 211, 0.76);
  color: #8d5f23;
}

.admin-state-pill--archived {
  background: rgba(232, 228, 223, 0.86);
  color: #675f57;
}

.admin-slide-schedule {
  color: #8c8277;
  font-size: 0.78rem;
  line-height: 1.5;
}

.story-category--popup-live {
  background: rgba(214, 236, 224, 0.72);
  color: #285f47;
}

.story-category--popup-scheduled {
  background: rgba(246, 232, 211, 0.76);
  color: #8d5f23;
}

.story-category--popup-ended,
.story-category--popup-hidden {
  background: rgba(232, 228, 223, 0.86);
  color: #675f57;
}

.admin-bulk-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(199, 186, 169, 0.56);
  border-radius: 8px;
  background: #faf7f2;
  flex-wrap: wrap;
}

.admin-bulk-select-all {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #3b352f;
  font-size: 0.88rem;
  font-weight: 600;
}

.admin-bulk-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.admin-selection-count {
  color: #8d5f23;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.admin-bulk-select {
  min-width: 170px;
}

.admin-pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.admin-pagination-copy {
  color: #6b645b;
  font-size: 0.88rem;
}

.view-log-list {
  display: grid;
  gap: 0.9rem;
}

.view-log-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(199, 186, 169, 0.55);
  background: #fff;
}

.view-log-item strong {
  display: block;
  color: #201b17;
  margin-bottom: 0.2rem;
}

.view-log-item p {
  color: #6b645b;
  font-size: 0.92rem;
}

.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -8px 24px rgba(44, 41, 37, 0.08);
  z-index: 100;
  border-top: 1px solid rgba(199, 186, 169, 0.5);
}

.mobile-cta-grid {
  display: flex;
}

.mobile-cta-btn {
  flex: 1;
  padding: 0.85rem 0;
  font-size: 0.8rem;
  color: var(--color-charcoal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  border-right: 1px solid rgba(199, 186, 169, 0.45);
  background: none;
}

.mobile-cta-btn:last-child {
  border-right: none;
}

.mobile-cta-btn.primary {
  background: var(--color-charcoal);
  color: #fff;
}

@media (min-width: 1025px) {
  .side-nav {
    display: block;
  }
}

@media (min-width: 1200px) {
  .page-hero--center .page-title,
  .section-intro--center .section-title {
    white-space: nowrap;
  }
}

@media (max-width: 1100px) {
  .page-hero--split .page-hero-inner,
  .split-layout,
  .form-layout,
  .footer-top,
  .auth-layout,
  .member-panel-grid {
    grid-template-columns: 1fr;
  }

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

  .card-grid--3,
  .reviews-grid,
  .demo-account-grid,
  .case-grid,
  .admin-member-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .filter-grid,
  .member-stat-grid,
  .admin-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-filter-grid--cases-extended,
  .admin-filter-grid--members-extended {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-popup-slide-list {
    grid-template-columns: 1fr;
  }

  .admin-popup-grid {
    grid-template-columns: 1fr;
  }

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

  .admin-sidebar {
    position: static;
  }

  .admin-member-table {
    min-width: 1100px;
  }

  .admin-member-table--selection {
    min-width: 1320px;
  }

  .admin-management-table {
    min-width: 1480px;
  }
}

@media (max-width: 767px) {
  .app-container {
    padding-bottom: 60px;
  }

  .header {
    padding: 0.85rem 1rem;
  }

  .nav-links,
  .pc-only {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-overlay {
    padding-left: 0.95rem;
    padding-right: 0.95rem;
  }

  .hero,
  .page-hero,
  .article-shell,
  .legal-shell {
    padding-top: 7rem;
  }

  .hero-content {
    padding-bottom: 2.5rem;
  }

  .hero-title,
  .page-title {
    font-size: 2.35rem;
  }

  .section-title {
    font-size: 1.95rem;
  }

  .section-band {
    padding: 4rem 0;
  }

  .section-intro {
    margin-bottom: 2.25rem;
  }

  .card-grid--2,
  .card-grid--3,
  .reviews-grid,
  .info-grid,
  .field-grid,
  .quick-grid,
  .step-grid,
  .metric-grid,
  .oauth-grid,
  .demo-account-grid,
  .filter-grid,
  .case-grid,
  .comparison-grid,
  .member-stat-grid,
  .admin-member-grid,
  .case-preview,
  .case-meta-grid {
    grid-template-columns: 1fr;
  }

  .desktop-only-grid {
    display: none;
  }

  .mobile-only-carousel {
    display: block;
  }

  .hero-image-wrapper {
    height: 340px;
  }

  .split-media--location {
    aspect-ratio: 4 / 5;
  }

  .section-actions,
  .action-row {
    width: 100%;
  }

  .section-actions > *,
  .action-row > * {
    width: 100%;
  }

  .admin-toolbar,
  .admin-toolbar-actions {
    align-items: stretch;
  }

  .header-actions {
    gap: 0.75rem;
  }

  .admin-filter-grid {
    grid-template-columns: 1fr;
  }

  .admin-filter-grid--cases,
  .admin-filter-grid--cases-extended,
  .admin-filter-grid--members-extended {
    grid-template-columns: 1fr;
  }

  .admin-member-table-shell {
    border-radius: 6px;
  }

  .admin-member-table {
    min-width: 980px;
  }

  .admin-member-table--selection {
    min-width: 1320px;
  }

  .admin-management-table {
    min-width: 1420px;
  }

  .info-card {
    padding: 1.15rem;
  }

  .accordion-panel-inner {
    padding-left: 1.4rem;
  }

  .footer {
    padding: 4rem 0 5.5rem;
  }

  .footer-links {
    flex-direction: column;
  }

  .footer-links a {
    width: 100%;
  }

  .home-popup-overlay {
    padding: 1rem;
  }

  .home-popup-actions {
    display: grid;
  }

  .home-popup-pagination {
    width: 100%;
    justify-content: space-between;
  }

  .home-popup-actions > * {
    width: 100%;
  }

  .home-popup-nav {
    width: 36px;
    height: 36px;
  }

  .admin-popup-slide-top {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .meta-list-row,
  .view-log-item,
  .admin-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .meta-list-row strong {
    text-align: left;
  }

  .admin-row-actions {
    min-width: 150px;
  }

  .admin-bulk-toolbar,
  .admin-bulk-actions,
  .admin-pagination-bar {
    align-items: stretch;
  }

  .admin-bulk-actions > *,
  .admin-pagination-bar > * {
    width: 100%;
  }

  .mobile-cta {
    display: block;
  }
}
