html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.08) transparent;
}
html::-webkit-scrollbar {
  width: 8px;
}
html::-webkit-scrollbar-track {
  background: transparent;
}
html::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}
html::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.22);
}
:root {
  color-scheme: dark;
  --bg: #030c14;
  --fg: #e8fff6;
  --mut: #9bb9b4;
  --ac: #5effc1;
  --line: rgba(94, 255, 193, 0.18);
  --edge: rgba(232, 255, 246, 0.12);
  --edge-strong: rgba(232, 255, 246, 0.45);
  font-family: "Noto Sans KR", sans-serif;
  color: var(--fg);
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background-color: var(--bg);
  transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
body:has(#app.readability-mode),
#app.readability-mode {
  --bg: #010408;
  background-color: #010408;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--ac);
  outline-offset: 5px;
}
[v-cloak] {
  display: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  user-select: none;
  -webkit-user-select: none;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 10;
  background: #102a31;
  padding: 12px;
}
.skip-link:focus {
  top: 10px;
}
#aurora {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
#aurora.readability-dim,
body:has(#app.readability-mode) #aurora {
  opacity: 0.06;
  filter: brightness(0.2) blur(2px);
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 4vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  gap: 30px;
}
.wordmark {
  font-family: "Julius Sans One", sans-serif;
  font-size: 23px;
  letter-spacing: 0.12em;
}
.wordmark span {
  display: block;
  font-family: "Noto Sans KR", sans-serif;
  letter-spacing: 0.15em;
  font-size: 9px;
  margin-top: 6px;
  color: var(--mut);
}
nav {
  display: flex;
  gap: 28px;
  font-size: 12px;
}
nav a {
  padding: 8px 0;
  color: #bad1cb;
}
nav a:hover,
nav a.active {
  color: var(--ac);
}
nav a:last-child {
  color: var(--ac);
}
.menu-toggle {
  display: none;
}
.hero {
  min-height: 660px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 100px 20px 65px;
}
.eyebrow {
  font-family: "Julius Sans One", "Noto Sans KR", sans-serif;
  letter-spacing: 0.32em;
  font-size: 10px;
  color: var(--ac);
  font-weight: 400;
}
.hero > .eyebrow {
  letter-spacing: 0.6em;
  font-size: 12px;
}
.hero h1 {
  width: 100%;
  margin: 20px 0 14px;
  line-height: 0;
  transition: margin 0.8s cubic-bezier(0.07, 0.85, 0.16, 1);
}
.hero-logo {
  display: block;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: none;
  line-height: 0;
  position: relative;
  z-index: 1060;
  transition: max-width 0.8s cubic-bezier(0.07, 0.85, 0.16, 1);
}
.hero-wordmark {
  display: block;
  width: 100%;
  height: auto;
}
.tagline {
  font-size: 17px;
  font-weight: 200;
  letter-spacing: 0.04em;
  color: #cfe9e2;
  margin: 10px 0 38px;
  line-height: 1.9;
}
.mobile-break {
  display: none;
}
.search {
  display: flex;
  align-items: center;
  width: min(100%, 640px);
  gap: 12px;
  border: 1px solid var(--edge);
  border-radius: 99px;
  background: rgba(3, 12, 20, 0.65);
  backdrop-filter: blur(12px);
  padding: 6px 6px 6px 22px;
  box-shadow: 0 10px 50px #0003;
  transition: border-color 0.2s, padding 0.8s cubic-bezier(0.07, 0.85, 0.16, 1);
}
.search:focus-within {
  border-color: var(--edge-strong);
}
.search-icon {
  display: block;
  flex: 0 0 20px;
  align-self: center;
  color: var(--edge);
  transition: color 0.2s;
}
.search:focus-within .search-icon {
  color: var(--edge-strong);
}
.search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--fg);
  padding: 13px 0;
  font-size: 14px;
  font-weight: 200;
  transition: padding 0.8s cubic-bezier(0.07, 0.85, 0.16, 1);
}
.search input::placeholder {
  color: #abc0ba;
}
.search button,
.primary {
  border: 0;
  border-radius: 99px;
  padding: 14px 24px;
  background: linear-gradient(100deg, #5effc1, #a78bfa);
  color: #03140f;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: padding 0.8s cubic-bezier(0.07, 0.85, 0.16, 1);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.chips button {
  background: #030c1460;
  border: 1px solid var(--edge);
  border-radius: 99px;
  font-size: 11px;
  padding: 7px 13px;
  color: #c2d9d2;
  transition: border-color 0.2s, color 0.2s;
}
.chips button:hover {
  border-color: var(--edge-strong);
  color: var(--ac);
}
.search-caption {
  color: var(--mut);
  font-size: 11px;
  margin-top: 21px;
  font-weight: 200;
  letter-spacing: 0.04em;
}
.search-feedback {
  width: 100%;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.search-feedback.is-fading-out {
  opacity: 0;
  transform: translateY(-16px) scale(0.99);
  pointer-events: none;
}
.search-results {
  text-align: left;
  padding: 18px 22px;
  background: #081d24f5;
  border: 1px solid var(--line);
  border-radius: 20px;
  margin-top: 18px;
  box-shadow: 0 20px 50px #0004;
}
.result-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ac);
}
.search-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  border-top: 1px solid var(--edge);
  background: transparent;
  padding: 8px 0;
  text-align: left;
  font-size: 15px;
}
.search-result small {
  display: block;
  font-size: 10px;
  color: var(--mut);
  margin-bottom: 4px;
}
.content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 80px;
  scroll-margin-top: 35px;
}

/* ==========================================================================
   전체 보기 모달 팝업 및 미니멀 바로가기 버튼
   ========================================================================== */
.explore-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(3, 7, 18, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 20px 24px;
}

.explore-modal-dialog {
  width: 100%;
  max-width: 860px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.96), rgba(8, 14, 26, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 24px rgba(56, 189, 248, 0.12);
  border-radius: 20px;
  padding: 24px 28px 22px;
  outline: none;
  box-sizing: border-box;
}

.explore-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.explore-modal-header .eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: #38bdf8;
  font-weight: 600;
  margin: 0 0 4px;
}

.explore-modal-header h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  color: #f8fafc;
  letter-spacing: -0.02em;
}

.explore-modal-header .explore-subtitle {
  font-size: 13px;
  color: #94a3b8;
  margin: 3px 0 0;
  font-weight: 400;
}

.explore-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.explore-modal-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #94a3b8;
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
  padding: 0;
}

.explore-modal-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  transform: rotate(90deg);
}

/* 모달 상단 뷰 모드 토글 (50대 질문 vs 카테고리별) */
.explore-mode-toggle {
  display: inline-flex;
  background: rgba(15, 23, 42, 0.8);
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  gap: 2px;
}

.explore-mode-btn {
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  border: none;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.explore-mode-btn:hover {
  color: #f1f5f9;
}

.explore-mode-btn.active {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

/* 3대 핵심 축 (시기, 성패, 관계) 필터 바 */
.question-axis-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.axis-filter-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.question-axis-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.axis-chip {
  padding: 4px 11px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.axis-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.axis-chip.active {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.5);
  color: #38bdf8;
  font-weight: 600;
}

.axis-chip.axis-timing.active {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.5);
  color: #fbbf24;
}

.axis-chip.axis-fortune.active {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.5);
  color: #34d399;
}

.axis-chip.axis-relation.active {
  background: rgba(168, 85, 247, 0.18);
  border-color: rgba(168, 85, 247, 0.5);
  color: #c084fc;
}

/* 질문 카테고리 칩 */
.question-cat-chips {
  margin-bottom: 12px;
  padding-bottom: 10px;
}

/* 오픈 예정 안내 알림 배너 */
.question-toast-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  margin-bottom: 12px;
  background: linear-gradient(90deg, rgba(30, 58, 138, 0.35), rgba(15, 23, 42, 0.5));
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 12px;
  animation: toastFadeIn 0.25s ease-out;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #e2e8f0;
  line-height: 1.4;
}

.toast-icon {
  font-size: 15px;
}

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

.toast-primary-btn {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  background: #0284c7;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.toast-primary-btn:hover {
  background: #0369a1;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.toast-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 14px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 0.18s ease;
}

.toast-close-btn:hover {
  color: #ffffff;
}

/* 50선 질문 그리드 & 카드 */
.question-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 10px;
}

.question-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
  text-align: left;
}

.question-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.5);
}

.question-card.is-ready {
  border-color: rgba(56, 189, 248, 0.35);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(255, 255, 255, 0.02));
}

.question-card.is-ready:hover {
  border-color: rgba(56, 189, 248, 0.6);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(255, 255, 255, 0.04));
  box-shadow: 0 8px 24px -4px rgba(56, 189, 248, 0.25);
}

.q-card-top {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}

.q-card-num {
  font-weight: 700;
  color: #38bdf8;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.q-card-badge {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 10.5px;
  font-weight: 500;
}

.q-card-cat {
  color: #64748b;
  font-size: 10.5px;
  margin-left: auto;
}

.q-status-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
}

.q-status-badge.ready {
  background: rgba(2, 132, 199, 0.25);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.q-status-badge.preview {
  background: rgba(255, 255, 255, 0.04);
  color: #64748b;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.q-card-question {
  font-size: 13.5px;
  font-weight: 500;
  color: #f1f5f9;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.question-card.is-ready .q-card-question {
  font-weight: 600;
  color: #ffffff;
}

.explore-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.explore-tab-chip {
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.18s ease;
}

.explore-tab-chip:hover {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}

.explore-tab-chip.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.45);
  color: #38bdf8;
  font-weight: 600;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.15);
}

.explore-modal-body {
  overflow-y: auto;
  max-height: calc(85vh - 160px);
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 189, 248, 0.25) transparent;
}

.explore-modal-body::-webkit-scrollbar {
  width: 5px;
}

.explore-modal-body::-webkit-scrollbar-track {
  background: transparent;
}

.explore-modal-body::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.25);
  border-radius: 999px;
}

.menu-grid.minimal-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.menu-card.minimal-menu-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 12px 14px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
  box-sizing: border-box;
  backdrop-filter: blur(8px);
}

.menu-card.minimal-menu-card:hover {
  background: rgba(56, 189, 248, 0.07);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3), 0 0 12px rgba(56, 189, 248, 0.12);
}

.minimal-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-card.minimal-menu-card .card-number {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 2px 7px;
  border-radius: 6px;
}

.minimal-card-arrow {
  font-size: 11px;
  color: #64748b;
  transition: all 0.2s;
}

.menu-card.minimal-menu-card:hover .minimal-card-arrow {
  color: #38bdf8;
  transform: translate(1px, -1px);
}

.menu-card.minimal-menu-card .card-title {
  font-size: 14.5px;
  font-weight: 600;
  color: #f1f5f9;
  margin-top: 2px;
  line-height: 1.35;
  display: block;
}

.menu-card.minimal-menu-card:hover .card-title {
  color: #ffffff;
}

.menu-card.minimal-menu-card .card-subtitle {
  font-size: 11px;
  font-weight: 400;
  color: #94a3b8;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 모달 페이드 및 스케일 애니메이션 */
.explore-modal-fade-enter-active,
.explore-modal-fade-leave-active {
  transition: opacity 0.22s ease;
}

.explore-modal-fade-enter-from,
.explore-modal-fade-leave-to {
  opacity: 0;
}

.explore-modal-fade-enter-active .explore-modal-dialog {
  animation: exploreModalIn 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.explore-modal-fade-leave-active .explore-modal-dialog {
  animation: exploreModalOut 0.18s ease-in;
}

@keyframes exploreModalIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes exploreModalOut {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  to {
    opacity: 0;
    transform: scale(0.96) translateY(6px);
  }
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 26px;
}
.section-heading h2 {
  font-size: 23px;
  font-weight: 400;
  margin: 10px 0;
}
.section-heading > .muted {
  font-size: 11px;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}
.menu-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: linear-gradient(140deg, #0d252b9c, #06131a91);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(14px);
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.menu-card:hover {
  border-color: #5effc180;
  transform: translateY(-3px);
}
.card-number {
  color: #8db5a9;
  font-size: 9px;
  letter-spacing: 0.1em;
}
.card-title {
  font-size: 19px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-title > span {
  font-size: 21px;
  color: var(--ac);
  font-weight: 200;
}
.card-subtitle {
  color: var(--mut);
  font-size: 11px;
  font-weight: 200;
}
.muted,
.notice {
  color: var(--mut);
  line-height: 1.9;
}
.text-button {
  background: none;
  border: 0;
  font-size: 12px;
  color: var(--mut);
  padding: 10px;
}
.content {
  max-width: 1280px;
  outline: 0;
}
.detail .hero {
  min-height: 0;
  padding: 55px 20px 45px;
}
.detail .tagline {
  font-size: 14px;
  margin-bottom: 24px;
}
.detail .hero > .eyebrow {
  font-size: 9px;
}
.detail .search-caption {
  display: none;
}
.panel {
  padding: 20px 4px;
  border: none;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  margin: 12px 0;
}
.panel h3 {
  font-weight: 500;
  font-size: 21px;
}
.sample-badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 2px 8px;
  border: 1px solid #e7c27a;
  border-radius: 999px;
  color: #f3d48a;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.panel p {
  font-size: 14px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.notice {
  font-size: 12px;
}
.panel label {
  display: block;
  font-size: 13px;
  line-height: 1.8;
}
.panel input:not([type="radio"]),
.panel select,
.panel textarea {
  display: block;
  width: 100%;
  margin-top: 10px;
  background: #021018;
  border: 1px solid #92b9ac55;
  color: var(--fg);
  border-radius: 10px;
  padding: 12px;
  min-height: 46px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.panel .primary {
  margin-top: 22px;
}
.inline-form {
  display: flex;
  gap: 20px;
  align-items: end;
}
.inline-form button,
.error button {
  border: 1px solid var(--line);
  background: #163c36;
  border-radius: 10px;
  padding: 13px 20px;
}
.inline-form label {
  flex: 1;
}
.panel fieldset {
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  margin: 0;
}
.panel legend {
  font-size: 15px;
  padding: 10px 0;
  line-height: 1.7;
}
.options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.options label {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 8px;
  background: #ffffff05;
  border-radius: 8px;
}
.options input {
  accent-color: var(--ac);
}
.options span {
  font-size: 12px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  white-space: nowrap;
}
th,
td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
caption {
  text-align: left;
  color: var(--mut);
  margin-bottom: 20px;
}
.empty {
  text-align: center;
  padding: 50px 20px;
}
.empty > span {
  font-size: 45px;
  color: var(--ac);
}
.empty h3 {
  font-size: 20px;
}
.empty p {
  color: var(--mut);
}
.error {
  color: #ffbdbd;
  font-size: 13px;
  line-height: 1.8;
}
.result-panel {
  margin-top: 35px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
blockquote {
  border-left: 2px solid var(--ac);
  margin: 20px 0;
  padding-left: 20px;
  line-height: 1.8;
  font-size: 14px;
}
footer {
  display: flex;
  align-items: center;
  gap: 25px;
  border-top: 1px solid #ffffff14;
  padding: 30px 4vw;
  color: var(--mut);
  font-size: 10px;
}
footer .wordmark {
  font-size: 17px;
  color: #d2e9df;
}
footer > span {
  margin-left: auto;
}
@media (min-width: 1500px) {
  .hero {
    padding-top: 135px;
    min-height: 740px;
  }
}
@media (max-width: 900px) {
  nav {
    gap: 16px;
    font-size: 11px;
  }
  .site-header {
    padding: 23px;
  }
  .wordmark {
    font-size: 21px;
  }
  .menu-card {
    padding: 22px;
  }
  .card-title {
    font-size: 17px;
  }
}
@media (max-width: 700px) {
  .site-header {
    padding: 20px;
  }
  .menu-toggle {
    display: block;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 99px;
    padding: 8px 15px;
    font-size: 11px;
  }
  nav {
    display: none;
    position: absolute;
    top: 85px;
    left: 16px;
    right: 16px;
    background: #071b23f5;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 15px 22px;
    z-index: 5;
    box-shadow: 0 20px 50px #0007;
  }
  nav.open {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  nav a {
    font-size: 14px;
    padding: 10px;
  }
  .hero {
    padding-top: 90px;
    min-height: 610px;
  }
  .hero > .eyebrow {
    font-size: 9px;
    letter-spacing: 0.4em;
  }
  .tagline {
    font-size: 14px;
  }
  .mobile-break {
    display: block;
  }
  .search {
    gap: 7px;
    padding-left: 15px;
  }
  .search-icon {
    display: none;
  }
  .search input {
    font-size: 12px;
  }
  .search button {
    padding: 13px 16px;
    font-size: 12px;
  }
  .chips {
    gap: 7px;
    max-width: 340px;
  }
  .chips button {
    font-size: 10px;
  }
  .content {
    padding: 0 18px 50px;
  }
  .explore-modal-backdrop {
    padding: 12px;
  }
  .explore-modal-dialog {
    padding: 18px 16px 16px;
    max-height: 90vh;
    border-radius: 18px;
  }
  .minimal-menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .menu-card.minimal-menu-card {
    padding: 10px 12px;
    gap: 5px;
  }
  .menu-card.minimal-menu-card .card-title {
    font-size: 13.5px;
  }
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .menu-card {
    padding: 18px 15px;
    gap: 16px;
  }
  .card-title {
    font-size: 16px;
  }
  .card-subtitle {
    font-size: 10px;
    line-height: 1.6;
  }
  .card-number {
    font-size: 8px;
  }
  .section-heading h2 {
    font-size: 21px;
  }
  .section-heading > .muted {
    display: none;
  }
  .eyebrow {
    font-size: 8px;
  }
  .panel {
    padding: 20px;
  }
  .panel h3 {
    font-size: 18px;
  }
  .detail .hero {
    padding-top: 40px;
  }
  .options {
    flex-direction: column;
  }
  .inline-form {
    flex-wrap: wrap;
  }
  .inline-form label {
    min-width: 180px;
  }
  footer {
    padding: 25px 20px;
    gap: 15px;
    flex-wrap: wrap;
  }
  footer > span {
    font-size: 9px;
  }
  .search-results {
    padding: 16px;
  }
  .result-heading {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
  .search-loading-mark { animation: none; opacity: 0.85; }
}
/* Home is a full viewport; results remain in the document flow. */
#main:not(.detail) .hero {
  min-height: 100vh;
  min-height: 100dvh;
  justify-content: center;
  padding: 40px 20px;
}
.chips .explore-toggle { display: inline-flex; align-items: center; justify-content: center; }
.chips .explore-toggle[aria-expanded="true"] { border-color: var(--edge-strong); color: var(--ac); }
.chip-plus { display: block; transition: transform 0.2s ease; }
.chips .explore-toggle[aria-expanded="true"] .chip-plus { transform: rotate(45deg); }
.home-login {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  right: max(24px, env(safe-area-inset-right));
  z-index: 2;
  padding: 12px 4px;
  color: var(--mut);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.home-login:hover { color: var(--fg); }
.home-account { position: fixed; top: max(18px, env(safe-area-inset-top)); right: max(24px, env(safe-area-inset-right), calc(50vw - 640px)); z-index: 6; }
.home-account .home-login { position: static; display: block; border: 0; background: none; }
.profile-menu { position: absolute; top: 100%; right: 0; width: 220px; max-width: calc(100vw - 48px); margin-top: 8px; padding: 8px; background: #161b26; border: 1px solid #ffffff26; border-radius: 16px; box-shadow: 0 20px 40px #0005; text-align: left; font-size: 12px; }
.profile-summary { display: flex; flex-direction: column; gap: 5px; padding: 10px; border-bottom: 1px solid #ffffff1a; overflow-wrap: anywhere; }
.profile-email { color: var(--mut); font-size: 10px; }
.profile-provider { color: var(--ac); font-size: 10px; }
.profile-actions { display: flex; flex-direction: column; gap: 2px; padding-top: 6px; }
.profile-menu-item { width: 100%; padding: 9px 10px; text-align: left; color: var(--fg); border: 0; background: none; border-radius: 8px; font-size: 12px; font-family: inherit; cursor: pointer; transition: background 0.15s ease, color 0.15s ease; display: flex; align-items: center; }
.profile-menu-item:hover { background: #ffffff14; color: #fff; }
.profile-logout { width: 100%; padding: 9px 10px; text-align: left; color: #fca5a5; border: 0; background: none; border-radius: 8px; font-size: 12px; font-family: inherit; cursor: pointer; transition: background 0.15s ease, color 0.15s ease; }
.profile-logout:hover { background: #ef44441a; color: #f87171; }
.profile-menu .error { margin: 8px 10px; }
.home-symbol {
  position: fixed;
  top: max(18px, env(safe-area-inset-top));
  left: max(24px, env(safe-area-inset-left), calc(50vw - 640px));
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
.home-symbol img { display: block; object-fit: contain; }
.header-symbol { vertical-align: middle; margin-right: 10px; }
.hero .tagline {
  display: grid;
  grid-template-rows: 1fr;
  white-space: pre-line;
  min-height: 3.8em;
  max-height: 8em;
  margin: 10px 0 38px;
  overflow: hidden;
  transition:
    grid-template-rows 0.8s cubic-bezier(0.07, 0.85, 0.16, 1),
    max-height 0.8s cubic-bezier(0.07, 0.85, 0.16, 1),
    min-height 0.8s cubic-bezier(0.07, 0.85, 0.16, 1),
    margin 0.8s cubic-bezier(0.07, 0.85, 0.16, 1),
    opacity 0.8s cubic-bezier(0.07, 0.85, 0.16, 1);
}
.hero .tagline span { min-height: 0; overflow: hidden; }
#app { position: relative; z-index: 1; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
#main { flex: 1; }
#main:not(.detail) { display: flex; flex-direction: column; }
#main:not(.detail) .hero {
  flex: 1 1 auto;
  min-height: 0;
  transition:
    flex-grow 0.8s cubic-bezier(0.07, 0.85, 0.16, 1),
    padding 0.8s cubic-bezier(0.07, 0.85, 0.16, 1);
}
#main.has-feed .hero,
#main.has-content .hero {
  flex-grow: 0;
  min-height: 0;
  padding: 24px 20px 8px;
}
#main.has-feed .hero h1,
#main.has-content .hero h1 { margin: 0 0 27px; }
#main.has-feed .search,
#main.has-content .search { padding: 4px 4px 4px 16px; }
#main.has-feed .search input,
#main.has-content .search input { padding: 9px 0; }
#main.has-feed .search button,
#main.has-content .search button { padding: 10px 18px; }
#main.has-feed .hero-logo,
#main.has-content .hero-logo { max-width: min(170px, calc(100vw - 200px)); }
#main.has-feed .hero .tagline,
#main.has-content .hero .tagline {
  grid-template-rows: 0fr;
  min-height: 0;
  max-height: 0;
  margin-top: 0;
  margin-bottom: 0;
  opacity: 0;
}
.result-sheet { display: flex; flex-direction: column; align-items: stretch; align-self: center; width: fit-content; min-width: min(100%, 720px); max-width: 100%; margin: 0 auto; padding: 0 20px; box-sizing: border-box; overflow-x: clip; }
.result-sheet.wide { max-width: min(100%, 1080px); }
.result-sheet > .search-loading,
.result-sheet > .search-feed,
.result-sheet > .content-toggle-viewport,
.result-sheet > .content { width: auto; max-width: none; margin: 0; box-sizing: border-box; }
.content-toggle-viewport {
  width: 100%;
  box-sizing: border-box;
  transform-origin: top center;
  will-change: height, opacity;
}
.content-toggle-viewport.content-wide {
  max-width: 1280px;
  margin: 0 auto;
}
.search-loading { margin: 0; padding: 2px 0 0; display: flex; justify-content: center; }
.search-loading-mark { width: 12px; height: 12px; border-radius: 50%; background: var(--ac); transform-origin: center; animation: search-breathe 0.9s ease-in-out infinite; }
@keyframes search-breathe { 0%, 100% { transform: scale(0.72); } 50% { transform: scale(1.12); } }
.search-feed { padding: 0 0 16px; display: flex; flex-direction: column; gap: 4px; }
.portal-dock { width: 100%; flex: none; transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
.portal-dock.radio-live { position: fixed; z-index: 5; left: 0; right: 0; bottom: 0; background: transparent; }
#main.radio-open { padding-bottom: 146px; }
.radio-bar { margin: 0; padding: 8px 16px 0; }
.radio-bar-chassis {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 12px;
  border-radius: 12px;
  background: linear-gradient(155deg, #1d222b 0%, #13161d 60%, #0d1015 100%);
  box-shadow: inset 1px 1px 1px rgba(255, 255, 255, 0.12), inset -1px -1px 2px rgba(0, 0, 0, 0.85), 0 0 0 1px #090c10;
}
.radio-screw { flex: none; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #475569 0%, #1e293b 70%, #0f172a 100%); box-shadow: inset 1px 1px 1px rgba(255, 255, 255, 0.25); }
.radio-lcd {
  flex: 1;
  min-width: 0;
  height: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 0 12px;
  border-radius: 8px;
  background-color: #040d0a;
  background-image: repeating-linear-gradient(0deg, rgba(16, 185, 129, 0.04) 0 1px, transparent 1px 3px);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.95), inset 0 0 0 1px #0e1614;
}
.radio-lcd span, .radio-lcd strong { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.radio-lcd span { color: rgba(16, 244, 156, 0.35); font-size: 9px; letter-spacing: 0.14em; }
.radio-lcd strong { color: #10f49c; font-size: 14px; font-weight: 600; text-shadow: 0 0 8px rgba(16, 244, 156, 0.65); }
.radio-bands { display: flex; align-items: center; gap: 6px; }
.radio-bands button {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.28);
  color: #94a3b8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
}
.radio-bands button[aria-pressed="true"] { color: #fff; border-color: rgba(16, 244, 156, 0.45); background: rgba(16, 185, 129, 0.12); }
.radio-led { width: 6px; height: 6px; border-radius: 50%; background: #334155; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.65); }
.radio-bands button[aria-pressed="true"] .radio-led { background: #10f49c; box-shadow: 0 0 6px #10f49c; }
@media (max-width: 700px) {
  #main.radio-open { padding-bottom: 138px; }
  .radio-bar { padding: 6px 10px 0; }
  .radio-bar-chassis { height: 52px; gap: 8px; padding: 6px 8px; }
  .radio-screw { display: none; }
  .radio-bands button { padding: 0 8px; font-size: 10px; }
}
.home-login { max-width: calc(100vw - 110px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-footer { display: flex; align-items: center; flex: none; box-sizing: border-box; padding: 14px 24px 36px; line-height: 1.5; background: transparent; border: 0; color: #94a3b8; font-size: 12px; font-weight: 400; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif; }
.footer-inner { width: 100%; max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.footer-brand, .footer-links { display: flex; align-items: center; gap: 12px; }
.footer-brand strong { color: inherit; font-weight: inherit; }
.footer-home { margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; }
.footer-divider { display: inline-block; width: 1px; height: 12px; background: #ffffff1a; }
.footer-home:hover,
.footer-links a:hover { color: var(--fg); }
.footer-copyright { color: inherit; margin-left: 8px; }
.footer-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 1.5px 7px;
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  line-height: 1.4;
  vertical-align: middle;
  user-select: none;
  cursor: default;
  transition: all 0.2s ease;
}
.footer-meta-badge:hover {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.16);
}
.footer-meta-divider {
  opacity: 0.4;
  font-size: 10px;
}
.footer-load-time {
  color: #38bdf8;
  font-weight: 500;
}
@media (max-width: 700px) {
  .home-symbol {
    left: max(16px, env(safe-area-inset-left));
  }
  .home-account {
    right: max(16px, env(safe-area-inset-right));
  }
  .portal-footer { padding: 14px 16px 36px; font-size: 10px; }
  .footer-inner { flex-direction: column; gap: 8px; }
  .footer-brand, .footer-links { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .footer-copyright { margin-left: 0; }
}
.search-feedback { text-align: center; }
.search-message { line-height: 1.7; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; text-align: center; }
.search-feed .search-message { margin: 18px 0; }
.search-results { padding: 0; margin: 6px 0 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.result-chevron { flex: none; color: var(--mut); transition: transform 0.2s ease, color 0.2s ease; }
.result-chevron.open { transform: rotate(180deg); color: var(--ac); }
#main.has-feed .content { padding-top: 0; padding-bottom: 28px; }

/* 로그인 팝업 모달 및 관리자 폼 스타일 */
.portal-login-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 0.2s ease-out;
}
.portal-login-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  background: #111418;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.7);
  box-sizing: border-box;
  animation: scaleUp 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.login-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}
.login-header-text h2 {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}
.login-modal-desc {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.4;
}
.login-modal-close {
  background: none;
  border: 0;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.login-modal-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
.social-login-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn-social-login {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}
.btn-social-login:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}
.btn-social-login:active {
  transform: translateY(0);
}
.btn-kakao {
  background-color: #FEE500;
  color: #191919;
}
.btn-naver {
  background-color: #03C75A;
  color: #ffffff;
}
.btn-google {
  background-color: #ffffff;
  color: #3c4043;
  border: 1px solid #dadce0;
}
.social-icon {
  flex-shrink: 0;
}
.login-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 8px 0 4px;
}
.btn-guest-browse {
  width: 100%;
  height: 38px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.btn-guest-browse:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}
.login-privacy-tip {
  font-size: 11px;
  color: #64748b;
  text-align: center;
  margin: 6px 0 0;
  line-height: 1.5;
}
.login-privacy-tip a {
  color: #94a3b8;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.login-privacy-tip a:hover {
  color: #e2e8f0;
}
.admin-login-addon {
  margin-top: 14px;
  animation: fadeIn 0.2s ease-out;
}
.addon-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin-bottom: 12px;
}
.addon-divider::before,
.addon-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.addon-divider span {
  padding: 0 10px;
  font-size: 11px;
  color: #64748b;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.admin-login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.admin-login-form .form-row {
  display: flex;
  flex-direction: column;
}
.admin-login-form input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  background: #1a1f26;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9px;
  color: #ffffff;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.admin-login-form input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}
.btn-admin-submit {
  width: 100%;
  height: 44px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  border: 0;
  border-radius: 9px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.12s ease;
  margin-top: 4px;
}
.btn-admin-submit:hover:not(:disabled) {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.btn-admin-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.login-form-error {
  color: #f87171;
  font-size: 12px;
  margin: 0;
  line-height: 1.4;
}
.login-form-success {
  color: #34d399;
  font-size: 12px;
  margin: 0;
  line-height: 1.4;
}

/* 관리자 전용 구현원리 인스펙터 사이드바 */
.admin-inspector {
  position: fixed;
  top: 70px;
  left: 0;
  width: 320px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 90px);
  max-height: calc(100dvh - 90px);
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-left: 0;
  border-radius: 0 16px 16px 0;
  box-shadow: 6px 16px 36px rgba(0, 0, 0, 0.65);
  z-index: 999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-size: 12px;
  color: #e2e8f0;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.admin-inspector.collapsed {
  transform: translateX(-100%);
}
.admin-inspector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(30, 41, 59, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.admin-inspector-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-inspector-badge {
  background: #0284c7;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.admin-inspector-title {
  font-size: 13px;
  font-weight: 600;
  color: #f8fafc;
}
.admin-inspector-close {
  background: none;
  border: 0;
  color: #94a3b8;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  line-height: 1;
}
.admin-inspector-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.admin-inspector-body {
  padding: 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.admin-session-box {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-session-title {
  font-weight: 600;
  color: #38bdf8;
  margin-bottom: 2px;
}
.admin-inspector-section-label {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  margin: 0;
}
.admin-menu-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.admin-menu-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.admin-menu-card.active {
  border-color: #38bdf8;
}
.admin-menu-toggle-btn {
  width: 100%;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 12px;
}
.admin-menu-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}
.admin-menu-btn-left {
  display: flex;
  align-items: center;
  gap: 6px;
}
.admin-menu-group {
  color: #94a3b8;
  font-size: 10px;
}
.admin-menu-name {
  font-weight: 600;
  color: #f1f5f9;
}
.admin-menu-chevron {
  font-size: 9px;
  color: #94a3b8;
}
.admin-menu-details {
  padding: 8px 10px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(15, 23, 42, 0.6);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
}
.admin-detail-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.detail-label {
  font-weight: 600;
  color: #94a3b8;
  font-size: 10px;
}
.detail-val {
  color: #cbd5e1;
  word-break: break-all;
  line-height: 1.4;
}
.detail-val.status-ok {
  color: #34d399;
  font-weight: 600;
}
.detail-val.status-warn {
  color: #fbbf24;
  font-weight: 600;
}
.admin-btn-open-menu {
  margin-top: 4px;
  padding: 5px 8px;
  background: #0369a1;
  color: #fff;
  border: 0;
  border-radius: 6px;
  font-size: 11px;
  cursor: pointer;
  align-self: flex-start;
}
.admin-btn-open-menu:hover {
  background: #0284c7;
}
.admin-inspector-floating-btn {
  position: fixed;
  top: 76px;
  left: 0;
  z-index: 998;
  background: #0284c7;
  color: #fff;
  border: 0;
  padding: 6px 10px;
  border-radius: 0 8px 8px 0;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
}
.admin-inspector-floating-btn:hover {
  background: #0369a1;
}


/* ==============================================================================
   MeWake Editorial Newspaper Fortune Viewport (오늘의 운세 실시간 연동 지면)
   ============================================================================== */
.newspaper-fortune-container {
  --np-headline: #e6edf3;
  --np-text-dim: #8b949e;
  --np-accent-mint: #5effc1;
  --np-accent-gold: #ffd166;
  --np-accent-coral: #ff7b72;
  --np-rule: rgba(255, 255, 255, 0.12);
  --np-rule-bold: rgba(255, 255, 255, 0.28);
  --np-font-serif: "Noto Serif KR", "Nanum Myeongjo", "Batang", serif;
  --np-font-sans: "Noto Sans KR", -apple-system, sans-serif;

  font-family: var(--np-font-sans);
  color: var(--np-headline);
  padding: 12px 0 32px;
  width: 100%;
}

/* 1. Lead Section: Split Grid */
.np-hero-split-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--np-rule);
}
@media (max-width: 900px) {
  .np-hero-split-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.np-briefing-col {
  display: flex;
  flex-direction: column;
}
.np-briefing-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--np-accent-coral);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  font-family: var(--np-font-sans);
}
.np-serif-lead-title {
  font-family: var(--np-font-serif);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.02em;
  margin: 0 0 14px 0;
  color: var(--np-headline);
}
.np-serif-lead-summary {
  font-family: var(--np-font-serif);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--np-text-dim);
  line-height: 1.65;
  border-left: 3px solid var(--np-accent-gold);
  padding-left: 12px;
  margin-bottom: 16px;
}
.np-serif-lead-body {
  font-family: var(--np-font-serif);
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--np-headline);
  text-align: justify;
}
.np-serif-lead-body strong {
  color: var(--np-accent-mint);
  font-weight: 700;
}

/* Right Side: COMPREHENSIVE Panel */
.np-side-comprehensive {
  border-left: 1px solid var(--np-rule);
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: var(--np-font-sans);
}
@media (max-width: 900px) {
  .np-side-comprehensive {
    border-left: none;
    padding-left: 0;
    border-top: 1px dashed var(--np-rule);
    padding-top: 20px;
  }
}

.np-comp-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  border-bottom: 2px solid var(--np-headline);
  padding-bottom: 4px;
  display: flex;
  justify-content: space-between;
}
.np-comp-score-wrap {
  text-align: center;
  padding: 14px 0 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--np-rule);
}
.np-comp-score-num {
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--np-headline);
}
.np-comp-score-label {
  font-size: 11px;
  color: var(--np-accent-mint);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-top: 4px;
}
.np-comp-status-bar {
  font-size: 12px;
  color: var(--np-text-dim);
  margin-top: 6px;
}

/* Input State List */
.np-input-status-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12.5px;
}
.np-input-status-item {
  padding: 8px 0;
  border-bottom: 1px solid var(--np-rule);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background 0.2s;
}
.np-input-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 26px;
}
.np-input-entry-left {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  min-width: 0;
  cursor: pointer;
}
.np-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
  transition: all 0.2s ease;
}
.np-status-dot.completed {
  background: var(--np-accent-mint);
  box-shadow: 0 0 5px rgba(94, 255, 193, 0.4);
}
.np-status-dot.missing {
  background: transparent;
  border: 1px solid var(--np-text-dim);
  opacity: 0.45;
  box-shadow: none;
}
.np-input-entry-content {
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.np-input-entry-label {
  font-weight: 600;
  color: var(--np-headline);
  flex-shrink: 0;
}
.np-input-entry-sep {
  color: var(--np-text-dim);
  flex-shrink: 0;
}
.np-input-entry-value {
  color: var(--np-accent-mint);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Missing State */
.np-input-status-item.is-missing .np-input-entry-content {
  opacity: 0.38;
}
.np-input-status-item.is-missing .np-input-entry-label {
  color: var(--np-text-dim);
  font-weight: 400;
}
.np-input-status-item.is-missing .np-input-entry-value {
  color: var(--np-text-dim);
  font-style: italic;
}

/* Action Buttons */
.np-entry-action-btn {
  font-family: var(--np-font-sans);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 2px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
  background: transparent;
  border: 1px solid var(--np-rule);
  color: var(--np-text-dim);
}
.np-entry-action-btn:hover {
  border-color: var(--np-rule-bold);
  color: var(--np-headline);
}
.np-entry-action-btn.btn-input {
  border-color: var(--np-accent-gold);
  color: var(--np-accent-gold);
  background: rgba(255, 209, 102, 0.1);
  font-weight: 600;
}
.np-entry-action-btn.btn-input:hover {
  background: var(--np-accent-gold);
  color: #03080e;
}

/* Popdowns */
.np-inline-popdown {
  display: none;
  padding: 8px 0 4px;
  margin-top: 4px;
  border-top: 1px dashed var(--np-rule);
  animation: npFadeIn 0.15s ease;
}
.np-inline-popdown.open { display: block; }
@keyframes npFadeIn {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}
.np-popdown-select {
  width: 100%;
  background: #0d1117;
  border: 1px solid var(--np-rule);
  color: #e6edf3;
  padding: 5px 8px;
  font-size: 12px;
  margin-bottom: 6px;
  border-radius: 2px;
}
.np-popdown-btn-apply {
  background: transparent;
  border: 1px solid var(--np-accent-mint);
  color: var(--np-accent-mint);
  padding: 3px 10px;
  font-size: 11px;
  cursor: pointer;
  font-weight: 600;
  float: right;
  border-radius: 2px;
}
.np-popdown-btn-apply:hover {
  background: var(--np-accent-mint);
  color: #03080e;
}

/* Tarot Deck & 3D Flip */
.np-tarot-side-section {
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--np-rule);
}
.np-tarot-side-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.np-tarot-side-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--np-headline);
  letter-spacing: 0.05em;
}
.np-tarot-side-guide {
  font-size: 10.5px;
  color: var(--np-accent-gold);
  font-weight: 600;
}
.np-tarot-card-deck {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  perspective: 1000px;
}
.np-tarot-card-wrap {
  width: 100%;
  aspect-ratio: 5 / 8;
  cursor: pointer;
  position: relative;
  transition: transform 0.25s ease, opacity 0.3s ease;
}
.np-tarot-card-wrap:not(.locked):hover {
  transform: translateY(-3px);
}
.np-tarot-card-wrap.unselected {
  opacity: 0.35;
  filter: grayscale(80%);
  cursor: not-allowed;
}
.np-tarot-card-wrap.locked {
  cursor: default;
}
.np-flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}
.np-tarot-card-wrap.flipped .np-flip-card-inner {
  transform: rotateY(180deg);
}
.np-flip-card-back, .np-flip-card-front {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8px 4px;
  border-radius: 4px;
  box-sizing: border-box;
}
.np-flip-card-back {
  background: linear-gradient(145deg, #161b22, #0d1117);
  border: 1px solid rgba(255, 209, 102, 0.35);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  color: var(--np-accent-gold);
}
.np-back-pattern {
  font-size: 16px;
  opacity: 0.7;
}
.np-back-text {
  font-size: 11px;
  font-weight: 700;
  margin-top: 4px;
  letter-spacing: 0.05em;
}
.np-back-sub {
  font-size: 9px;
  opacity: 0.6;
  margin-top: 2px;
}
.np-flip-card-front {
  background: linear-gradient(145deg, #0f172a, #1e293b);
  border: 1.5px solid var(--np-accent-mint);
  box-shadow: 0 0 12px rgba(94, 255, 193, 0.2);
  color: #f8fafc;
  transform: rotateY(180deg);
}
.np-card-front-icon { font-size: 18px; margin-bottom: 2px; }
.np-card-front-name { font-size: 11px; font-weight: 800; color: #fff; margin-bottom: 2px; }
.np-card-front-kw { font-size: 9px; color: var(--np-accent-mint); font-weight: 600; margin-bottom: 2px; }
.np-card-front-desc { font-size: 8px; color: #94a3b8; line-height: 1.2; }
.np-tarot-status-notice {
  font-size: 11px;
  text-align: center;
  margin-top: 8px;
  color: var(--np-text-dim);
  min-height: 16px;
}

/* 2. Chart Section */
.np-chart-section {
  margin-bottom: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--np-rule);
}
.np-section-title-line {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  border-bottom: 1px solid var(--np-rule-bold);
  padding-bottom: 6px;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: var(--np-headline);
}
.np-chart-view-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.np-chart-tab-btn {
  background: transparent;
  border: 1px solid var(--np-rule);
  color: var(--np-text-dim);
  padding: 3px 10px;
  font-size: 11.5px;
  cursor: pointer;
  font-family: var(--np-font-sans);
  font-weight: 600;
  transition: all 0.2s;
  border-radius: 2px;
}
.np-chart-tab-btn:hover {
  color: var(--np-headline);
  border-color: var(--np-rule-bold);
}
.np-chart-tab-btn.active {
  color: var(--np-accent-mint);
  border-color: var(--np-accent-mint);
  background: rgba(94, 255, 193, 0.08);
}

.np-chart-legend-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--np-rule);
  font-size: 12px;
  align-items: center;
}
.np-legend-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 3px;
  transition: opacity 0.2s ease, filter 0.2s ease;
  user-select: none;
  font-weight: 600;
  color: var(--np-headline);
}
.np-legend-chip.inactive {
  opacity: 0.45;
  filter: grayscale(100%);
  color: var(--np-text-dim);
}
.np-legend-chip:hover { opacity: 0.85; }
.np-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.np-chart-viewport-box {
  width: 100%;
  overflow-x: hidden;
  padding: 10px 0 16px;
  background: transparent;
  border: none;
}
.np-svg-line-chart,
.np-svg-bar-chart {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.q1-bar-rect {
  transition: all 0.2s ease;
  cursor: pointer;
}
.q1-bar-rect:hover {
  filter: drop-shadow(0 0 8px rgba(254, 240, 138, 0.8)) !important;
  opacity: 0.95;
}
.q1-wealth-chip {
  cursor: default;
}

/* 3. Deep Dive Section */
.np-deepdive-section {
  margin-bottom: 24px;
}
.np-deepdive-header {
  border-bottom: 1px solid var(--np-rule-bold);
  padding-bottom: 6px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}
.np-deepdive-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--np-headline);
}
.np-deepdive-sub {
  font-size: 11.5px;
  color: var(--np-text-dim);
}
.np-deepdive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.np-deepdive-card {
  background: transparent;
  border: none;
  padding: 4px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 0;
}
.np-deepdive-card:first-child {
  padding-left: 0;
}
.np-deepdive-card:last-child {
  padding-right: 0;
}
.np-deepdive-card:not(:first-child) {
  border-left: 1px solid var(--np-rule);
}
.np-deepdive-card.caution {
  background: transparent;
}
@media (max-width: 900px) {
  .np-deepdive-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .np-deepdive-card {
    padding: 16px 0;
  }
  .np-deepdive-card:first-child {
    padding-left: 0;
  }
  .np-deepdive-card:last-child {
    padding-right: 0;
  }
  .np-deepdive-card:not(:first-child) {
    border-left: none;
    border-top: 1px solid var(--np-rule);
  }
}
.np-deepdive-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  display: inline-block;
  align-self: flex-start;
  padding: 2px 6px;
  border-radius: 2px;
}
.np-deepdive-badge.lucky {
  color: var(--np-accent-mint);
  background: rgba(94, 255, 193, 0.1);
}
.np-deepdive-badge.caution {
  color: var(--np-accent-coral);
  background: rgba(255, 123, 114, 0.1);
}
.np-deepdive-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--np-headline);
  margin: 0;
  line-height: 1.4;
}
.np-deepdive-card-desc {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--np-text-dim);
  margin: 0;
  flex: 1;
}
.np-deepdive-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--np-accent-gold);
  margin-top: 4px;
}


/* ========================================================
   [Content Fluid Motion & Wide Layout & Fortune Setup]
   ======================================================== */
.result-sheet {
  transition: max-width 0.45s cubic-bezier(0.16, 1, 0.3, 1), min-width 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.result-sheet.extra-wide {
  max-width: min(100%, 1280px) !important;
}
.content {
  transition: max-width 0.45s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease !important;
}
.content.content-wide {
  max-width: 1280px !important;
}

/* 오늘의 운세 비회원/정보 미입력 셋업 패널 */
.today-fortune-setup-card {
  max-width: 960px;
  margin: 10px auto 30px;
  padding: 12px 4px 30px;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), max-height 0.45s ease, margin 0.45s ease, padding 0.45s ease;
  overflow: visible;
}
.today-fortune-setup-card.is-dismissing {
  opacity: 0;
  transform: translateY(-16px) scale(0.98);
  pointer-events: none;
  max-height: 0;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}

/* 비회원 유명인 샘플보기 배너 */
.np-guest-sample-banner {
  margin-bottom: 24px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 12px;
}
.np-guest-sample-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.np-guest-sample-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #ffb703;
  background: rgba(255, 183, 3, 0.12);
  border: 1px solid rgba(255, 183, 3, 0.3);
  border-radius: 12px;
  padding: 2px 8px;
}
.np-guest-sample-guide {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}
.np-celebrity-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.np-celeb-chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  color: #e2e8f0;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.np-celeb-chip-btn:hover {
  background: rgba(94, 255, 193, 0.12);
  border-color: rgba(94, 255, 193, 0.35);
  color: var(--np-accent-mint, #5effc1);
  transform: translateY(-1px);
}
.np-celeb-icon {
  font-size: 13px;
}
.np-celeb-arrow {
  font-size: 11px;
  opacity: 0.6;
}

/* 지역 직접 입력 & 진태양시 자동계산 배지 */
.today-loc-input-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.today-solar-offset-badge {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.today-solar-offset-badge.detected {
  color: #5effc1;
  background: rgba(94, 255, 193, 0.08);
  border-color: rgba(94, 255, 193, 0.2);
}
.today-solar-offset-badge .solar-icon {
  font-size: 12px;
}

/* 샘플 모드 활성 상단 바 */
.np-sample-active-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 18px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, rgba(255, 183, 3, 0.1), rgba(16, 185, 129, 0.08));
  border: 1px solid rgba(255, 183, 3, 0.25);
  border-radius: 12px;
}
.np-sample-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.np-sample-tag {
  font-size: 11px;
  font-weight: 700;
  color: #ffb703;
  background: rgba(255, 183, 3, 0.15);
  border: 1px solid rgba(255, 183, 3, 0.35);
  border-radius: 12px;
  padding: 2px 8px;
}
.np-sample-bar-desc {
  font-size: 13px;
  color: #f1f5f9;
}
.np-sample-bar-right {
  display: flex;
  gap: 8px;
}
.np-sample-action-btn {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.2s;
}
.np-sample-action-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}
.np-sample-action-btn.primary {
  background: var(--np-accent-mint, #5effc1);
  color: #030c14;
  border-color: var(--np-accent-mint, #5effc1);
}
.np-sample-action-btn.primary:hover {
  filter: brightness(1.1);
}

/* 팝다운 지역 입력 & 힌트 */
.np-popdown-input {
  height: 38px;
  font-size: 13px;
  margin-bottom: 6px;
}
.np-popdown-solar-hint {
  font-size: 11px;
  color: var(--np-accent-mint, #5effc1);
  margin-bottom: 8px;
}

.today-setup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
  margin-bottom: 24px;
}
.today-setup-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.today-setup-field.required {
  grid-column: span 2;
}
.today-setup-field label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}
.field-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}
.field-badge.required {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.25);
}
.field-badge.optional {
  color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.05);
}
.today-setup-input,
.today-setup-select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  background: rgba(4, 12, 22, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: #ffffff;
  font-size: 13.5px;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.today-setup-input:focus,
.today-setup-select:focus {
  outline: none;
  border-color: var(--np-accent-mint, #5effc1);
  box-shadow: 0 0 0 3px rgba(94, 255, 193, 0.15);
}
.today-setup-select option {
  background: #0f1c2e;
  color: #ffffff;
}
.today-setup-actions {
  display: flex;
  justify-content: center;
}
.today-setup-btn-submit {
  width: 100%;
  max-width: 380px;
  height: 48px;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.today-setup-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.45);
  filter: brightness(1.08);
}
.today-setup-btn-submit:active {
  transform: translateY(0);
}

@media (max-width: 680px) {
  .today-fortune-setup-card {
    padding: 24px 20px;
  }
  .today-setup-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .today-setup-field.required {
    grid-column: span 1;
  }
}

/* --------------------------------------------------------------------------
 * 포인트 뱃지 & 별 날아가기 애니메이션 (게임형 포인트 인터랙션)
 * -------------------------------------------------------------------------- */
.home-user-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.user-points-container {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.user-points-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffb703;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  user-select: none;
}

@keyframes pointsPop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.35) rotate(-6deg);
    filter: brightness(1.35);
  }
  75% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

.user-points-badge.points-popping {
  animation: pointsPop 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.point-gain-float-badge {
  position: absolute;
  top: -18px;
  right: -6px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffb703;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 183, 3, 0.5);
  padding: 1px 6px;
  border-radius: 8px;
  text-shadow: 0 0 8px rgba(255, 183, 3, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  z-index: 100;
  animation: floatUpAndFade 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes floatUpAndFade {
  0% {
    opacity: 0;
    transform: translateY(6px) scale(0.7);
  }
  20% {
    opacity: 1;
    transform: translateY(-2px) scale(1.15);
  }
  75% {
    opacity: 1;
    transform: translateY(-14px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-24px) scale(0.9);
  }
}

.flying-star {
  position: fixed;
  z-index: 999999;
  pointer-events: none;
  font-size: 0.95rem;
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.85)) drop-shadow(0 0 14px rgba(255, 183, 3, 0.6));
  will-change: transform, opacity;
  transform-origin: center center;
}

/* --------------------------------------------------------------------------
 * 비회원 로그인 유도 카드 (미니멀 안내)
 * -------------------------------------------------------------------------- */
.np-guest-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.np-guest-login-prompt {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 12px 30px rgba(0, 0, 0, 0.25);
}

.np-prompt-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 183, 3, 0.1);
  border: 1px solid rgba(255, 183, 3, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 0 18px rgba(255, 183, 3, 0.2);
}

.np-prompt-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: -0.01em;
}

.np-prompt-desc {
  margin: 0;
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.55;
  max-width: 500px;
}

.np-prompt-highlight {
  display: block;
  margin-top: 6px;
  color: #ffb703;
  font-weight: 600;
}

.np-prompt-login-btn {
  margin-top: 6px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  background: linear-gradient(135deg, #ffb703 0%, #fb8500 100%);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(251, 133, 0, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.np-prompt-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(251, 133, 0, 0.45);
}
.np-prompt-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.np-prompt-direct-btn {
  font-size: 0.84rem;
  color: #94a3b8;
  padding: 6px 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.15s ease;
}
.np-prompt-direct-btn:hover {
  color: #f8fafc;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
 * ChatGPT 스타일 블루 서클 분석 모델 로딩 인터랙션 (검색 피드 텍스트 상태 박스)
 * -------------------------------------------------------------------------- */
.gpt-engine-status-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 10px;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  margin: 14px auto;
  width: 100%;
  text-align: center;
  animation: gptFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.gpt-blue-orbit-circle {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2.5px solid rgba(56, 189, 248, 0.2);
  border-top-color: #38bdf8;
  border-right-color: #0284c7;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.45);
  animation: gptOrbitSpin 0.85s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.gpt-blue-orbit-circle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 6px #38bdf8;
  transform: translate(-50%, -50%);
}

.gpt-status-text-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.gpt-status-badge {
  font-size: 0.74rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.32);
  padding: 2px 10px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.gpt-status-title {
  font-size: 15.5px;
  font-weight: 500;
  color: #e8fff6;
  letter-spacing: -0.01em;
  white-space: nowrap;
  animation: gptTextPulse 0.25s ease-out;
}

.gpt-status-desc {
  font-size: 0.86rem;
  color: #94a3b8;
  line-height: 1.45;
}

@keyframes gptOrbitSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes gptFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes gptTextPulse {
  0% { opacity: 0.45; transform: translateY(2px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .gpt-engine-status-box {
    align-items: flex-start;
    padding: 10px 14px;
    gap: 11px;
  }
  .gpt-blue-orbit-circle {
    margin-top: 2px;
  }
  .gpt-status-text-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}


.skeleton-status-banner,
.submitting-status-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  margin-bottom: 16px;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 999px;
  font-size: 0.88rem;
  color: #bae6fd;
}

.skeleton-status-text,
.submitting-status-text {
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #e0f2fe;
}

/* --------------------------------------------------------------------------
 * 신문 지면 섹션 부드러운 안착 모션 (초기 재렌더링 시 깜빡임/지연 최소화)
 * -------------------------------------------------------------------------- */
@keyframes npStaggerFadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.np-stagger-1 {
  animation: npStaggerFadeUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0.02s backwards;
}

.np-stagger-2 {
  animation: npStaggerFadeUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0.05s backwards;
}

.np-stagger-3 {
  animation: npStaggerFadeUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0.08s backwards;
}

.np-stagger-4 {
  animation: npStaggerFadeUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0.1s backwards;
}

/* --------------------------------------------------------------------------
 * 스켈레톤 박스 로딩 UI (FOUC & 렌더링 깜빡임 방지용 박스 플레이스홀더)
 * -------------------------------------------------------------------------- */
.skeleton-box {
  display: block;
  background: rgba(255, 255, 255, 0.05);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.04) 100%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.8s ease-in-out infinite;
  border-radius: 6px;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.content-skeleton,
.engine-skeleton-preview {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-top: 14px;
}

.skeleton-card {
  background: rgba(14, 20, 27, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  box-sizing: border-box;
}

.skeleton-lead {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skeleton-badge {
  width: 90px;
  height: 20px;
  border-radius: 10px;
}

.skeleton-text-lg {
  width: 75%;
  height: 22px;
}

.skeleton-text-md {
  width: 95%;
  height: 15px;
}

.skeleton-text-sm {
  width: 60%;
  height: 15px;
}

.skeleton-chart-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skeleton-section-title {
  width: 160px;
  height: 18px;
}

.skeleton-bars-row {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 110px;
  padding: 10px 0;
  gap: 12px;
}

.skeleton-bar {
  flex: 1;
  max-width: 44px;
  border-radius: 4px 4px 0 0;
}
.skeleton-bar:nth-child(1) { height: 60%; }
.skeleton-bar:nth-child(2) { height: 85%; }
.skeleton-bar:nth-child(3) { height: 50%; }
.skeleton-bar:nth-child(4) { height: 95%; }
.skeleton-bar:nth-child(5) { height: 75%; }

.skeleton-grid-tri {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 768px) {
  .skeleton-grid-tri {
    grid-template-columns: 1fr;
  }
}

.skeleton-col-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skeleton-col-head {
  width: 70%;
  height: 16px;
}

.skeleton-text-line {
  width: 100%;
  height: 13px;
}

.skeleton-text-line.short {
  width: 65%;
}


/* 추천메뉴 하단 설명문구 및 롤링 로딩 모션 */
.home-guide-area {
  min-height: 0;
  margin-top: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}
#main.has-feed .home-guide-area,
#main.has-content .home-guide-area {
  display: none !important;
}
.home-loading-banner {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 16px;
  background: rgba(94, 255, 193, 0.08);
  border: 1px solid rgba(94, 255, 193, 0.24);
  border-radius: 99px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.loading-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ac);
  box-shadow: 0 0 10px var(--ac), 0 0 3px #ffffff;
  animation: loadingDotBreathe 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes loadingDotBreathe {
  0%, 100% {
    transform: scale(0.65);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
  }
}
.loading-status-text {
  font-size: 13px;
  color: #e8fff6;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* 아래에서 위로 올라와 진입하고, 사라질 때는 위 방향으로 사라지며 위아래 투명도 0 */
.loading-slide-up-enter-active {
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}
.loading-slide-up-leave-active {
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.loading-slide-up-enter-from {
  opacity: 0;
  transform: translateY(14px);
}
.loading-slide-up-enter-to,
.loading-slide-up-leave-from {
  opacity: 1;
  transform: translateY(0);
}
.loading-slide-up-leave-to {
  opacity: 0;
  transform: translateY(-14px);
}

/* 모든 콘텐츠 순차적 등장 (위에서 아래로 천천히 부드럽게) */
@keyframes contentStaggerDown {
  0% {
    opacity: 0;
    transform: translateY(-22px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-cascade-in > *,
.newspaper-fortune-container > section,
.np-sample-active-bar,
.today-fortune-setup-card:not(.is-dismissing),
.search-results,
.content > .section-heading,
.content > .notice,
.content > .card,
.content > .panel,
.content > .form,
.content > .results-grid,
.result-panel,
.result-panel > * {
  animation: contentStaggerDown 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* 상단 요소들 딜레이 (위에서 아래로 자연스러운 cascade) */
.content > .section-heading { animation-delay: 0.06s; }
.content > .notice { animation-delay: 0.12s; }
.np-sample-active-bar { animation-delay: 0.08s; }
.today-fortune-setup-card:not(.is-dismissing) { animation-delay: 0.10s; }

/* 신문 지면 섹션 순차 등장 (상단 바 0.08s에 이어 0.15s부터 순차 전개) */
.newspaper-fortune-container > section:nth-child(1) { animation-delay: 0.15s; }
.newspaper-fortune-container > section:nth-child(2) { animation-delay: 0.35s; }
.newspaper-fortune-container > section:nth-child(3) { animation-delay: 0.55s; }
.newspaper-fortune-container > section:nth-child(4) { animation-delay: 0.75s; }
.newspaper-fortune-container > section:nth-child(5) { animation-delay: 0.95s; }
.newspaper-fortune-container > section:nth-child(6) { animation-delay: 1.15s; }
.newspaper-fortune-container > section:nth-child(7) { animation-delay: 1.35s; }
.newspaper-fortune-container > section:nth-child(8) { animation-delay: 1.55s; }

/* 일반 패널 및 폼 기본 딜레이 및 복수 카드 순차 등장 */
.content > .form { animation-delay: 0.15s; }
.content > .panel:nth-of-type(1) { animation-delay: 0.15s; }
.content > .panel:nth-of-type(2) { animation-delay: 0.28s; }
.content > .panel:nth-of-type(3) { animation-delay: 0.40s; }
.content > .panel:nth-of-type(4) { animation-delay: 0.52s; }
.content > .panel:nth-of-type(5) { animation-delay: 0.64s; }

/* 분석 결과 패널 순차 등장 */
.result-panel > .result-header { animation-delay: 0.08s; }
.result-panel > .result-card:nth-of-type(1) { animation-delay: 0.18s; }
.result-panel > .result-card:nth-of-type(2) { animation-delay: 0.30s; }
.result-panel > .result-card:nth-of-type(3) { animation-delay: 0.42s; }
.result-panel > .result-card:nth-of-type(4) { animation-delay: 0.54s; }
.result-panel > .result-card:nth-of-type(5) { animation-delay: 0.66s; }

/* 검색 결과 순차 등장 */
.search-results > .search-result:nth-child(1) { animation: contentStaggerDown 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both; }
.search-results > .search-result:nth-child(2) { animation: contentStaggerDown 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both; }
.search-results > .search-result:nth-child(3) { animation: contentStaggerDown 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.36s both; }
.search-results > .search-result:nth-child(4) { animation: contentStaggerDown 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.48s both; }
.search-results > .search-result:nth-child(5) { animation: contentStaggerDown 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.60s both; }

/* ==========================================================================
   라디오 준비중 안내 배너 (Radio Dock Notice)
   ========================================================================== */
.radio-notice-banner {
  grid-column: 1 / -1;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #7dd3fc;
  font-size: 11px;
  padding: 6px 12px;
  border-radius: 6px;
  text-align: center;
  margin-top: 6px;
  animation: npFadeIn 0.25s ease;
}

/* ==========================================================================
   일반 사주/운세 폼 자동 동기화 배너
   ========================================================================== */
.form-auto-sync-notice {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #a7f3d0;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.form-auto-sync-notice strong {
  color: #34d399;
}

/* ==========================================================================
   심리테스트 그래프식 게이지 선택 & 다각화 탭 (Psych Tests Visual Scale)
   ========================================================================== */
.psych-panel {
  padding: 10px 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.psych-test-nav {
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 14px;
}
.psych-test-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  overflow-x: visible;
  padding-bottom: 0;
}
.psych-test-tab {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.psych-test-tab:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #f1f5f9;
  border-color: rgba(255, 255, 255, 0.16);
}
.psych-test-tab.active {
  background: rgba(2, 132, 199, 0.16);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.4);
  font-weight: 700;
  box-shadow: none;
}

.psych-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.psych-scale-badge {
  font-size: 15px;
  font-weight: 700;
  color: #38bdf8;
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
}
.psych-progress-wrap {
  flex: 1;
  min-width: 200px;
  max-width: 320px;
}
.psych-progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 4px;
}
.psych-progress-info strong {
  color: #e2e8f0;
}
.psych-progress-bar {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}
.psych-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #34d399);
  border-radius: 999px;
  transition: width 0.35s ease;
}

.psych-question-fieldset {
  border: none;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 14px 2px 26px;
  margin-bottom: 28px;
  transition: all 0.25s ease;
}
.psych-question-fieldset.answered {
  border-color: rgba(255, 255, 255, 0.08);
  background: transparent;
}
.psych-question-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.5;
  margin-bottom: 6px;
  padding: 0;
}
.psych-question-title .q-num {
  font-size: 13px;
  font-weight: 800;
  color: #38bdf8;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

/* 그래프식 게이지 스케일 바 */
.graph-scale-container {
  position: relative;
  margin-top: 4px;
  padding: 6px 0 2px;
}
.graph-scale-bar-track {
  position: absolute;
  top: 22px;
  left: 29px;
  right: 29px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  z-index: 1;
}
.graph-scale-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #0ea5e9, #10b981);
  border-radius: 999px;
  transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.graph-scale-nodes {
  position: relative;
  display: flex;
  justify-content: space-between;
  z-index: 2;
}
.graph-scale-node-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 58px;
  cursor: pointer;
}
.graph-scale-radio-native {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  opacity: 0;
  cursor: pointer;
  z-index: 5;
  margin: 0;
}
.panel label.graph-scale-node,
.graph-scale-node {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start;
  gap: 8px;
  padding: 0;
  margin: 0;
  outline: none;
  width: 100%;
  position: relative;
  user-select: none;
  transition: transform 0.2s ease;
  pointer-events: auto;
  text-align: center;
}
.panel label.graph-scale-node:hover,
.graph-scale-node:hover {
  transform: translateY(-2px);
}
.graph-scale-node .node-bullet {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1e293b;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  pointer-events: auto;
  flex-shrink: 0;
}
.graph-scale-node.filled .node-bullet {
  border-color: #38bdf8;
  background: #0f172a;
  color: #7dd3fc;
}
.graph-scale-node.selected .node-bullet {
  background: #0284c7;
  border-color: #38bdf8;
  color: #ffffff;
  transform: scale(1.22);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.6);
}
.panel label.graph-scale-node .node-label,
.graph-scale-node .node-label {
  font-size: 11px;
  color: #64748b;
  text-align: center;
  line-height: 1.25;
  letter-spacing: -0.2px;
  word-break: keep-all;
  white-space: nowrap;
  transition: color 0.2s ease;
  cursor: pointer;
  pointer-events: auto;
  margin: 0;
  padding: 0;
}
.panel label.graph-scale-node.selected .node-label,
.graph-scale-node.selected .node-label {
  color: #f8fafc;
  font-weight: 700;
}
.psych-submit-btn {
  width: 100%;
  margin-top: 14px;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
}

/* 체크리스트/검사형 콘텐츠 완료 시 부드러운 높이 0 축소 애니메이션 */
.psych-interactive-body {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.55s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.45s ease;
  opacity: 1;
}

.psych-interactive-body.collapsed {
  grid-template-rows: 0fr;
  opacity: 0;
  pointer-events: none;
}

.psych-interactive-inner {
  overflow: hidden;
  min-height: 0;
  transition: padding 0.55s ease, margin 0.55s ease;
}

.psych-interactive-body.collapsed .psych-interactive-inner {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.psych-interactive-body.collapsed .psych-question-fieldset {
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.psych-interactive-body.collapsed .psych-submit-btn {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  height: 0;
  border-width: 0;
}

/* 문항 재확인 토글 버튼 */
.psych-reopen-wrap {
  display: flex;
  justify-content: center;
  margin: 10px 0 16px;
}

.psych-reopen-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: #94a3b8;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.psych-reopen-btn:hover {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

.psych-panel + [aria-live="polite"] .submitting-status-banner {
  margin: 16px auto 20px;
  display: flex;
  justify-content: center;
  max-width: fit-content;
  padding: 10px 20px;
  font-size: 13.5px;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.12);
  animation: npFadeIn 0.35s ease;
}

/* ==========================================================================
   마이페이지 전용 탭 대시보드 (MyPage Dashboard)
   ========================================================================== */
.mypage-dashboard {
  width: 100%;
  animation: npFadeIn 0.3s ease;
}
.mypage-nav-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}
.mypage-tab-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.mypage-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
}
.mypage-tab-btn.active {
  background: #34d399;
  color: #022c22;
  border-color: #34d399;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(52, 211, 153, 0.3);
}

.mypage-panel {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 10px 0;
  backdrop-filter: none;
  margin-bottom: 24px;
}
.mypage-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mypage-panel-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 4px 0;
}
.mypage-desc {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}
.mypage-desc strong {
  color: #38bdf8;
}
.mypage-provider-badge,
.mypage-badge-secure,
.mypage-badge-points {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
}
.mypage-provider-badge {
  background: transparent;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mypage-badge-secure {
  background: transparent;
  color: #34d399;
  border: none;
}
.mypage-badge-points {
  color: #fbbf24;
  font-weight: 700;
}
.mypage-save-status-pill {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: transparent;
  color: #94a3b8;
  font-weight: 600;
  white-space: nowrap;
}
.mypage-save-status-pill.saved {
  background: transparent;
  color: #34d399;
  border: none;
}

/* 계정 그리드 */
.mypage-account-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.mypage-field-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  background: transparent;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.mypage-label {
  font-size: 13px;
  color: #94a3b8;
}
.mypage-val {
  font-size: 13px;
  font-weight: 600;
  color: #f1f5f9;
}
.mypage-value-edit {
  display: flex;
  gap: 8px;
  align-items: center;
}
.mypage-input-sm {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #f8fafc;
  padding: 5px 10px;
  font-size: 13px;
  width: 140px;
}
.mypage-btn-action {
  background: #0284c7;
  color: #ffffff;
  border: none;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.mypage-btn-action:hover {
  background: #0369a1;
}
.mypage-actions-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: flex-end;
}
.mypage-btn-logout {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.mypage-btn-logout:hover {
  background: rgba(239, 68, 68, 0.25);
  color: #fca5a5;
}

/* 저장된 정보 요약 칩 */
.mypage-saved-summary-card {
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 22px;
}
.mypage-saved-summary-card h4 {
  font-size: 13px;
  color: #38bdf8;
  margin: 0 0 10px 0;
}
.mypage-summary-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.summary-chip {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  color: #cbd5e1;
}
.summary-chip strong {
  color: #f8fafc;
}

/* 마이페이지 수정 폼 */
.mypage-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.mypage-form-group.full-width {
  grid-column: 1 / -1;
}
.mypage-form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 6px;
}
.mypage-form-group .req {
  color: #f43f5e;
}
.mypage-input,
.mypage-select {
  width: 100%;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #f8fafc;
  padding: 9px 12px;
  font-size: 13.5px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
}
.mypage-input:focus,
.mypage-select:focus {
  border-color: #38bdf8;
}
.mypage-form-buttons {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.mypage-form-buttons button.primary {
  flex: 1;
}
.mypage-btn-delete {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #f87171;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.mypage-btn-delete:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.2);
}
.mypage-msg-success {
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #34d399;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-top: 14px;
}
.mypage-msg-error {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #fb7185;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-top: 14px;
}

/* 보안 카드 목록 */
.mypage-security-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.security-card {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.sec-icon {
  font-size: 24px;
  flex-shrink: 0;
}
.sec-body strong {
  display: block;
  font-size: 13.5px;
  color: #f1f5f9;
  margin-bottom: 4px;
}
.sec-body p {
  margin: 0;
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.55;
}

/* 활동 대시보드 통계 카드 */
.mypage-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.stat-card {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 0;
  padding: 14px 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-label {
  font-size: 12px;
  color: #94a3b8;
}
.stat-val {
  font-size: 20px;
  font-weight: 800;
  color: #38bdf8;
}
.stat-sub {
  font-size: 11px;
  color: #64748b;
}

/* 자주 찾는 분석 메뉴 바로가기 */
.mypage-quick-menus h4 {
  font-size: 14px;
  color: #f1f5f9;
  margin: 0 0 12px 0;
}
.quick-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}
.quick-menu-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}
.quick-menu-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-2px);
}
.qm-icon {
  font-size: 24px;
  flex-shrink: 0;
}
.qm-text strong {
  display: block;
  font-size: 13px;
  color: #f8fafc;
}
.qm-text small {
  font-size: 11px;
  color: #94a3b8;
}

/* --------------------------------------------------------------------------
 * 법적 최소 표기 (최하단 은은한 1줄)
 * -------------------------------------------------------------------------- */
.legal-disclaimer-single-line {
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  opacity: 0.6;
  margin: 3.5rem auto 1.5rem;
  max-width: 800px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

/* 생년월일 변경 토글 버튼 */
.edit-birth-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 4px 8px;
  transition: color 0.15s ease;
}
.edit-birth-btn:hover {
  color: #38bdf8;
}

/* 에디토리얼 심층 분석 그리드 (무외곽선, 무배경색, 세로 구분선) */
.editorial-deepdive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.editorial-deepdive-grid .np-deepdive-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 1.25rem 0 0;
  border-radius: 0;
}
.editorial-deepdive-grid .np-deepdive-card:last-child {
  border-right: none;
}
@media (max-width: 768px) {
  .editorial-deepdive-grid .np-deepdive-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 0 1.25rem 0;
  }
  .editorial-deepdive-grid .np-deepdive-card:last-child {
    border-bottom: none;
  }
}

/* 상세 보완 카드 (무외곽선/무배경색) */
.editorial-supplement-cards .result-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem 0;
  border-radius: 0;
}
.subtle-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.15s ease;
}
.subtle-btn:hover {
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.3);
}


/* ========================================================
   [Responsive Overflow Fix - 가로 스크롤 방지]
   모든 콘텐츠 영역이 화면 너비에 맞게 유동적으로 표현됩니다.
   ======================================================== */

/* 전체 앱 루트 가로 오버플로우 차단 */
#app {
  overflow-x: hidden;
  max-width: 100vw;
}

/* 콘텐츠 카드/패널 가로 오버플로우 방지 */
.content,
.result-card,
.np-deepdive-card,
.np-briefing-col,
.np-hero-split-grid {
  max-width: 100%;
  box-sizing: border-box;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* 테이블 반응형 래퍼 */
.result-sheet table,
.content table {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
  word-break: break-word;
}

/* 이미지/미디어 최대폭 제한 */
.content img,
.result-card img {
  max-width: 100%;
  height: auto;
}

/* 좁은 화면 (≤480px) 추가 대응 */
@media (max-width: 480px) {
  .result-sheet {
    padding: 0 12px;
  }
  .np-chart-legend-strip {
    gap: 4px 10px;
    font-size: 11px;
  }
  .np-legend-chip {
    padding: 2px 4px;
    font-size: 11px;
  }
  .np-chart-tab-btn {
    font-size: 10.5px;
    padding: 3px 7px;
  }
  /* 기울임 라벨 공간 확보 */
  .np-chart-viewport-box {
    padding-bottom: 24px;
  }
  /* 카드 내부 텍스트 overflow 처리 */
  .np-deepdive-card-title,
  .np-serif-lead-title {
    font-size: 16px;
    word-break: keep-all;
  }
}

@media (max-width: 360px) {
  .result-sheet {
    padding: 0 8px;
  }
}
/* Photo physiognomy workspace shares the site's menu and keeps photo edits alive. */
.result-sheet:has(> .gwansang-home:not([style*="display: none"])) { width:100%; }
.gwansang-home { width:100%; margin:24px 0; min-width:0; }
.gwansang-home-heading {display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;}
.gwansang-home-heading h2 {font-size:24px;margin:6px 0;}
.gwansang-home-heading a {font-size:12px;color:#a5f3fc;white-space:nowrap;}
.gwansang-home-tabs {display:flex;position:static;flex-wrap:wrap;gap:8px;margin-bottom:14px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;z-index:auto;}
.gwansang-home-tabs button {padding:10px 14px;border:1px solid #334155;border-radius:10px;background:#101827;color:#cbd5e1;font:inherit;font-size:13px;cursor:pointer;}
.gwansang-home-tabs button .tab-lock {font-size:12px;opacity:0.85;margin-right:2px;}
.gwansang-home-tabs button[aria-current="page"] {border-color:#22d3ee;color:#a5f3fc;background:#164e6355;}
.gwansang-frame {display:block;border:0;width:100%;height:auto;min-height:560px;border-radius:16px;background:#080e19;overflow:hidden;transition:height 0.15s ease-out;}
.gwansang-saved-notice {font-size:13px;color:#a5f3fc;padding:12px;border:1px solid #155e75;border-radius:8px;}
.setting-icon {font-size:0.9em;opacity:0.9;margin-right:4px;display:inline-block;vertical-align:-1px;}
@media(max-width:600px){.gwansang-home-heading h2{font-size:19px}.gwansang-home-tabs button{font-size:12px;padding:8px}.gwansang-frame{min-height:520px;}}
