/* 전역 초기화 설정 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    vertical-align: baseline;
    outline: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* HTML5 display-role reset */
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
    display: block;
}

/* HTML5 hidden-attribute fix */
*[hidden] {
    display: none;
}

body {
    line-height: 1.5; /* 기존 1에서 1.5로 수정 (가독성 확보) */
    -webkit-text-size-adjust: none; /* 모바일 가로 전환 시 폰트 크기 고정 */
}

/* 리스트 스타일 제거 */
menu, ol, ul, li {
    list-style: none;
}

/* 인용구 설정 */
blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

/* 이미지 반응형 기본 설정 추가 */
img {
    max-width: 100%;
    height: auto;
    border: 0;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	outline: 0;
}

input,
select,
textarea,
button {
    background: transparent;
    border: 0;
    padding: 0;
    outline: none;
    border-radius: 0;
	-webkit-appearance: none;
}

img {
    vertical-align: top;
    max-width: 100%;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.5em;
}

h3 {
    font-size: 1.17em;
}

h1,
h2,
h3,
h4 {
    font-weight: bold;
}

a[href] {
	word-break: break-word;
}

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700;800&family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

:root {
  --bg-deep:    #080F10;
  --bg-mid:     #0D1A1C;
  --bg-card:    #111F22;
  --bg-card2:   #172628;
  --border:     rgba(0,187,220,0.15);
  --border-lit: rgba(0,187,220,0.35);
  --teal:       #00BBDC;
  --teal-lt:    #4DD6EE;
  --teal-dim:   rgba(0,187,220,0.2);
  --green:      #005C4D;
  --green-lt:   #00A389;
  --green-dim:  rgba(0,92,77,0.25);
  --white:      #F2F0FF;
  --muted:      #5A8A92;
  --star:       #FFD166;
  --font-round: 'M PLUS Rounded 1c', 'Noto Sans KR', sans-serif;
  --font-body:  'Noto Sans KR', sans-serif;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0,187,220,0.22) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0,92,77,0.08) 0%, transparent 60%);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 15%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 65% 8%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 80% 30%, rgba(200,190,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 55%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 70%, rgba(200,190,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 10% 85%, rgba(255,255,255,0.35) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 55% 92%, rgba(200,190,255,0.4) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.ps-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px 60px;
  position: relative;
  z-index: 1;
}

.ps-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.ps-blog-name {
  font-family: var(--font-round);
  font-size: 13px;
  font-weight: 800;
  color: var(--teal-lt);
  letter-spacing: 0.5px;
}

.ps-bgm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,187,220,0.15);
  border: 1px solid var(--border-lit);
  border-radius: 99px;
  padding: 6px 14px 6px 10px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--white);
  font-family: var(--font-round);
}

.ps-bgm:hover {
  background: rgba(0,187,220,0.28);
  border-color: var(--teal-lt);
}

.ps-bgm-icon {
  width: 22px; height: 22px;
  background: linear-gradient(135deg, var(--teal), #007A8A);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 8px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(0,187,220,0.5);
}

.ps-bgm-text {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--teal-lt);
}

.ps-bgm-note {
  font-size: 9px;
  color: var(--muted);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ps-bgm-bars {
  display: flex;
  gap: 2px;
  align-items: flex-end;
  height: 14px;
}

.ps-bgm-bars span {
  width: 2.5px;
  background: var(--teal-lt);
  border-radius: 2px;
  animation: barAnim 0.9s ease-in-out infinite;
}
.ps-bgm-bars span:nth-child(1) { height: 6px; animation-delay: 0s; }
.ps-bgm-bars span:nth-child(2) { height: 12px; animation-delay: 0.18s; }
.ps-bgm-bars span:nth-child(3) { height: 8px; animation-delay: 0.35s; }
.ps-bgm-bars span:nth-child(4) { height: 10px; animation-delay: 0.1s; }

@keyframes barAnim {
  0%, 100% { transform: scaleY(0.45); opacity: 0.7; }
  50%       { transform: scaleY(1);    opacity: 1; }
}

.ps-hero {
  margin-top: 16px;
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  display: block;
  min-height: 340px;
  border: 1.5px solid var(--border-lit);
  box-shadow:
    0 0 0 1px rgba(0,187,220,0.1),
    0 8px 40px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.ps-hero-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  filter: brightness(0.72) saturate(1.1);
  transition: filter 0.4s, transform 0.6s;
}

.ps-hero:hover .ps-hero-img {
  filter: brightness(0.85) saturate(1.2);
  transform: scale(1.03);
}

.ps-hero-placeholder {
  width: 100%;
  height: 380px;
  background: linear-gradient(135deg, #1C1A40 0%, #2A1535 50%, #1A1C40 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.ps-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(18,16,42,0.7) 0%,
    rgba(18,16,42,0.2) 40%,
    rgba(18,16,42,0.55) 100%
  );
  pointer-events: none;
}

.ps-hero-overlay::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(transparent, rgba(18,16,42,0.9));
}

.ps-hero-info {
  position: absolute;
  bottom: 28px;
  left: 28px;
  z-index: 2;
  pointer-events: none;
}

.ps-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,187,220,0.25);
  border: 1px solid rgba(0,187,220,0.5);
  backdrop-filter: blur(8px);
  border-radius: 99px;
  padding: 4px 12px;
  font-family: var(--font-round);
  font-size: 10px;
  font-weight: 700;
  color: var(--teal-lt);
  margin-bottom: 10px;
}

.ps-hero-badge::before {
  content: '✦';
  font-size: 8px;
  color: var(--star);
}

.ps-hero-title {
  font-family: var(--font-round);
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8), 0 0 40px rgba(0,187,220,0.3);
}

.ps-hero-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 7px;
  font-weight: 300;
}

.ps-hero-arrow {
  position: absolute;
  right: 24px;
  bottom: 28px;
  z-index: 2;
  width: 40px; height: 40px;
  background: rgba(0,187,220,0.3);
  border: 1.5px solid rgba(0,187,220,0.6);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--teal-lt);
  backdrop-filter: blur(8px);
  transition: all 0.25s;
  animation: arrowPulse 2.5s ease-in-out infinite;
}

.ps-hero:hover .ps-hero-arrow {
  background: rgba(0,187,220,0.55);
  transform: translateX(3px);
}

@keyframes arrowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,187,220,0.4); }
  50%       { box-shadow: 0 0 0 8px rgba(0,187,220,0); }
}

.ps-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.ps-menu-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 10px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.22s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ps-menu-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

.ps-menu-card:hover {
  border-color: var(--border-lit);
  background: var(--bg-card2);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3), 0 0 20px rgba(0,187,220,0.12);
}

.ps-menu-card:hover::before { opacity: 1; }

.ps-menu-icon {
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 2px;
  transition: transform 0.2s;
}

.ps-menu-card:hover .ps-menu-icon { transform: scale(1.1); }

.ps-menu-label {
  font-family: var(--font-round);
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.3px;
}

.ps-menu-sub {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.2px;
}

.icon-wiki   { background: linear-gradient(135deg, rgba(0,187,220,0.3), rgba(91,80,204,0.3)); }
.icon-pair   { background: linear-gradient(135deg, rgba(232,25,100,0.3), rgba(180,20,80,0.3)); }
.icon-backup { background: linear-gradient(135deg, rgba(100,180,255,0.3), rgba(60,130,220,0.3)); }
.icon-arc    { background: linear-gradient(135deg, rgba(255,180,60,0.3), rgba(220,130,20,0.3)); }

.ps-section { margin-top: 32px; }

.ps-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.ps-section-title {
  font-family: var(--font-round);
  font-size: 13px;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ps-section-title::before {
  content: '';
  width: 4px; height: 18px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--teal-lt), var(--teal));
  flex-shrink: 0;
}

.ps-section-more {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.ps-section-more:hover { color: var(--teal-lt); }

.ps-char-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.ps-char-scroll::-webkit-scrollbar { display: none; }

.ps-char-card {
  flex-shrink: 0;
  width: 130px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.22s;
  position: relative;
}

.ps-char-card:hover {
  border-color: var(--border-lit);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.4), 0 0 20px rgba(0,187,220,0.15);
}

.ps-char-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: linear-gradient(160deg, var(--bg-card2), var(--bg-deep));
}

.ps-char-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  transition: transform 0.4s, filter 0.3s;
}

.ps-char-card:hover .ps-char-img-wrap img {
  transform: scale(1.07);
  filter: brightness(0.95);
}

.ps-char-stars {
  position: absolute;
  bottom: 5px; left: 4px;
  display: flex;
  gap: 1px;
}

.ps-char-stars span {
  font-size: 9px;
  color: var(--star);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.8));
}

.ps-char-info {
  padding: 8px 8px 10px;
  text-align: center;
}

.ps-char-name {
  font-family: var(--font-round);
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.ps-char-handle {
  font-size: 9px;
  color: var(--muted);
}

.ps-footer {
  margin-top: 50px;
  padding: 24px 0 12px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.ps-footer-logo {
  font-family: var(--font-round);
  font-size: 14px;
  font-weight: 800;
  color: var(--teal-lt);
  margin-bottom: 6px;
}

.ps-footer-copy {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.ps-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
}

.ps-footer-links a {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}

.ps-footer-links a:hover { color: var(--teal-lt); }

::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: rgba(0,187,220,0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--teal); }

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

.ps-anim { animation: fadeUp 0.4s ease both; }
.ps-anim:nth-child(1) { animation-delay: 0.04s; }
.ps-anim:nth-child(2) { animation-delay: 0.09s; }
.ps-anim:nth-child(3) { animation-delay: 0.14s; }
.ps-anim:nth-child(4) { animation-delay: 0.19s; }
.ps-anim:nth-child(5) { animation-delay: 0.24s; }

@media (max-width: 640px) {
  .ps-menu-grid { grid-template-columns: repeat(2, 1fr); }
  .ps-hero-img, .ps-hero-placeholder { height: 260px; }
  .ps-hero-title { font-size: 20px; }
  .ps-hero-info { left: 18px; bottom: 20px; }
  .ps-char-card { width: 110px; }
}

@media (max-width: 400px) {
  .ps-menu-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .ps-menu-icon { width: 36px; height: 36px; font-size: 18px; }
}

.ps-page-header {
  position: relative;
  margin-top: 16px;
  border-radius: var(--r-lg);
  overflow: hidden;
  padding: 40px 32px 36px;
  border: 1.5px solid var(--border-lit);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.ps-page-header-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0,187,220,0.18) 0%, rgba(18,16,42,0.95) 60%),
    var(--bg-mid);
  z-index: 0;
}

.ps-page-header-bg::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(0,187,220,0.2) 0%, transparent 70%);
}

.ps-page-header-inner {
  position: relative;
  z-index: 1;
}

.ps-page-label {
  font-family: var(--font-round);
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--teal-lt);
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0.8;
}

.ps-page-title {
  font-family: var(--font-round);
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 8px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.ps-page-sub {
  font-size: 12px;
  color: var(--muted);
  font-weight: 300;
}

.ps-toc {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: var(--r-sm);
  padding: 16px 20px;
  margin-top: 20px;
}

.ps-toc-title {
  font-family: var(--font-round);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal-lt);
  margin-bottom: 10px;
}

.ps-toc-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 4px;
}

.ps-toc-list li { font-size: 12px; }

.ps-toc-list a {
  color: var(--muted);
  transition: color 0.2s;
  display: block;
  padding: 2px 0;
}

.ps-toc-list a:hover { color: var(--teal-lt); }

.ps-notice-body {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ps-notice-section {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}

.ps-notice-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,187,220,0.05);
}

.ps-notice-num {
  font-family: var(--font-round);
  font-size: 10px;
  font-weight: 800;
  color: var(--teal-lt);
  background: rgba(0,187,220,0.15);
  border: 1px solid rgba(0,187,220,0.3);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.ps-notice-section-title {
  font-family: var(--font-round);
  font-size: 13px;
  font-weight: 800;
  color: var(--white);
}

.ps-notice-content {
  padding: 20px;
  font-size: 13px;
  color: rgba(242,240,255,0.85);
  line-height: 1.9;
}

.ps-notice-content p + p { margin-top: 8px; }
.ps-notice-content strong { color: var(--white); font-weight: 700; }

.ps-profile-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  align-items: start;
}

.ps-profile-img-wrap {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1.5px solid var(--border-lit);
}

.ps-profile-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

.ps-profile-img-ph {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--bg-card2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--teal-dim);
}

.ps-profile-name {
  font-family: var(--font-round);
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}

.ps-profile-fandom {
  font-size: 10px;
  color: var(--teal-lt);
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.ps-profile-table { width: 100%; border-collapse: collapse; }
.ps-profile-table tr + tr td { border-top: 1px solid var(--border); }
.ps-pt-label {
  font-family: var(--font-round);
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  padding: 6px 12px 6px 0;
  white-space: nowrap;
  width: 60px;
}
.ps-pt-val { font-size: 12px; color: var(--white); padding: 6px 0; }

.ps-rule-list { display: flex; flex-direction: column; gap: 8px; }

.ps-rule-item {
  font-size: 12px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.6;
}

.ps-rule-item::before { flex-shrink: 0; font-size: 13px; }

.rule-warn { background: rgba(0,92,77,0.08); border: 1px solid rgba(0,92,77,0.25); color: #F5A0A8; }
.rule-warn::before { content: '⚠'; }
.rule-ok { background: rgba(0,187,220,0.08); border: 1px solid rgba(0,187,220,0.25); color: var(--teal-lt); }
.rule-ok::before { content: '✓'; }
.rule-info { background: rgba(100,180,255,0.06); border: 1px solid rgba(100,180,255,0.2); color: #A0C8F5; }
.rule-info::before { content: '✦'; }

.ps-tags-wrap { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }

.ps-tag {
  font-family: var(--font-round);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
}

.ptag-purple { background: rgba(0,187,220,0.2); color: var(--teal-lt); border: 1px solid rgba(0,187,220,0.4); }
.ptag-red    { background: rgba(0,92,77,0.2);   color: #00C4A0; border: 1px solid rgba(0,92,77,0.4); }
.ptag-blue   { background: rgba(80,160,255,0.15); color: #90C0FF; border: 1px solid rgba(80,160,255,0.3); }
.ptag-gold   { background: rgba(255,209,102,0.15); color: var(--star); border: 1px solid rgba(255,209,102,0.3); }

.ps-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.ps-info-item {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px 14px;
}

.ps-info-label {
  font-family: var(--font-round);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal-lt);
  margin-bottom: 5px;
}

.ps-info-val { font-size: 12px; color: var(--white); line-height: 1.6; }

.ps-contact-list { display: flex; flex-direction: column; gap: 8px; }

.ps-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card2);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  transition: all 0.2s;
}

.ps-contact-item:hover { border-color: var(--border-lit); background: rgba(0,187,220,0.08); }
.ps-contact-icon { font-size: 18px; }
.ps-contact-label { font-family: var(--font-round); font-size: 11px; font-weight: 700; color: var(--white); flex: 1; }
.ps-contact-val { font-size: 11px; color: var(--muted); }

.ps-wiki-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  margin-top: 20px;
  align-items: start;
}

.ps-wiki-aside { position: sticky; top: 16px; }

.ps-wiki-infobox { background: var(--bg-card); border: 1.5px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.ps-wiki-infobox-img { width: 100%; background: var(--bg-card2); }
.ps-wiki-infobox-img img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; filter: brightness(0.9); }
.ps-wiki-infobox-caption { font-size: 9px; color: var(--muted); text-align: center; padding: 6px 8px; border-bottom: 1px solid var(--border); }
.ps-wiki-info-table { width: 100%; border-collapse: collapse; }
.ps-wiki-info-table tr + tr td { border-top: 1px solid var(--border); }
.ps-wit-label { font-size: 9px; font-weight: 700; color: var(--muted); padding: 8px 10px; white-space: nowrap; background: rgba(0,187,220,0.05); vertical-align: top; width: 70px; }
.ps-wit-val { font-size: 11px; color: var(--white); padding: 8px 10px; line-height: 1.5; }

.ps-wiki-main { min-width: 0; }
.ps-wiki-section { background: var(--bg-card); border: 1.5px solid var(--border); border-radius: var(--r-md); overflow: hidden; margin-bottom: 12px; }
.ps-wiki-h2 { font-family: var(--font-round); font-size: 13px; font-weight: 800; color: var(--white); padding: 12px 18px; border-bottom: 1px solid var(--border); background: rgba(0,187,220,0.06); display: flex; align-items: center; gap: 8px; }
.ps-wiki-h2::before { content: ''; width: 3px; height: 14px; background: linear-gradient(180deg, var(--teal-lt), var(--teal)); border-radius: 2px; flex-shrink: 0; }
.ps-wiki-h3 { font-family: var(--font-round); font-size: 12px; font-weight: 700; color: var(--teal-lt); margin: 16px 0 8px; padding-left: 10px; border-left: 2px solid var(--teal); }
.ps-wiki-text { padding: 16px 18px; font-size: 13px; color: rgba(242,240,255,0.85); line-height: 1.9; }
.ps-wiki-text p + p { margin-top: 10px; }
.ps-wiki-quote { margin: 14px 0; padding: 12px 16px; border-left: 3px solid var(--teal); background: rgba(0,187,220,0.07); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 12px; color: var(--muted); font-style: italic; }
.ps-wiki-ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.ps-wiki-ul li { font-size: 13px; color: rgba(242,240,255,0.85); padding-left: 14px; position: relative; }
.ps-wiki-ul li::before { content: '·'; position: absolute; left: 0; color: var(--teal-lt); font-weight: 700; }

.ps-wiki-imgrow { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.ps-wiki-fig { flex: 1; min-width: 120px; }
.ps-wiki-fig img { width: 100%; border-radius: var(--r-sm); border: 1px solid var(--border); object-fit: cover; }
.ps-wiki-fig figcaption { font-size: 9px; color: var(--muted); text-align: center; margin-top: 4px; }

.ps-relation-card { background: var(--bg-card2); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 12px 14px; margin-top: 8px; transition: border-color 0.2s; }
.ps-relation-card:hover { border-color: var(--border-lit); }
.ps-relation-name-wrap { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.ps-relation-name { font-family: var(--font-round); font-size: 12px; font-weight: 700; color: var(--white); }
.ps-relation-badge { font-size: 9px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: rgba(0,187,220,0.2); color: var(--teal-lt); border: 1px solid rgba(0,187,220,0.35); }
.ps-relation-desc { font-size: 11px; color: var(--muted); line-height: 1.6; }

.ps-gallery-tabs { display: flex; gap: 6px; margin-top: 20px; flex-wrap: wrap; }

.ps-gtab {
  font-family: var(--font-round);
  font-size: 10px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 99px;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.ps-gtab:hover { border-color: var(--border-lit); color: var(--white); }
.ps-gtab.active { background: linear-gradient(135deg, var(--teal), #007A8A); border-color: var(--teal); color: #fff; box-shadow: 0 4px 12px rgba(0,187,220,0.35); }

.ps-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 16px; }
.ps-gallery-item { border-radius: var(--r-md); overflow: hidden; background: var(--bg-card); border: 1.5px solid var(--border); transition: all 0.22s; }
.ps-gallery-item:hover { border-color: var(--border-lit); transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,0.4); }
.ps-gallery-img-wrap { position: relative; overflow: hidden; aspect-ratio: 1; cursor: pointer; }
.ps-gallery-img-wrap img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.88); transition: filter 0.3s, transform 0.4s; display: block; }
.ps-gallery-item:hover .ps-gallery-img-wrap img { filter: brightness(1); transform: scale(1.06); }
.ps-gallery-overlay { position: absolute; inset: 0; background: rgba(18,16,42,0.35); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.25s; }
.ps-gallery-item:hover .ps-gallery-overlay { opacity: 1; }
.ps-gallery-zoom { font-size: 28px; color: #fff; font-weight: 300; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.ps-gallery-cap { font-size: 10px; color: var(--muted); text-align: center; padding: 8px 10px; }

.ps-lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.ps-lightbox.open { opacity: 1; pointer-events: auto; }
.ps-lb-backdrop { position: fixed; inset: 0; background: rgba(10,10,20,0.92); z-index: 999; opacity: 0; pointer-events: none; transition: opacity 0.25s; backdrop-filter: blur(8px); }
.ps-lb-backdrop.open { opacity: 1; pointer-events: auto; }
.ps-lb-img-wrap { max-width: 88vw; max-height: 80vh; border-radius: var(--r-md); overflow: hidden; border: 1.5px solid var(--border-lit); box-shadow: 0 20px 60px rgba(0,0,0,0.7); }
.ps-lb-img-wrap img { max-width: 88vw; max-height: 80vh; object-fit: contain; display: block; }
.ps-lb-cap { font-size: 11px; color: var(--muted); margin-top: 10px; }
.ps-lb-close { position: fixed; top: 20px; right: 24px; width: 36px; height: 36px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; color: #fff; font-size: 14px; cursor: pointer; z-index: 1001; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.ps-lb-close:hover { background: rgba(0,92,77,0.5); }
.ps-lb-prev, .ps-lb-next { position: fixed; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; background: rgba(0,187,220,0.25); border: 1.5px solid rgba(0,187,220,0.4); border-radius: 50%; color: #fff; font-size: 20px; cursor: pointer; z-index: 1001; display: flex; align-items: center; justify-content: center; transition: background 0.2s; backdrop-filter: blur(4px); }
.ps-lb-prev { left: 16px; }
.ps-lb-next { right: 16px; }
.ps-lb-prev:hover, .ps-lb-next:hover { background: rgba(0,187,220,0.55); }

.ps-backup-list { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }

.ps-backup-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 18px;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.ps-backup-item::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--teal), var(--green)); opacity: 0; transition: opacity 0.2s; }
.ps-backup-item:hover { border-color: var(--border-lit); background: var(--bg-card2); transform: translateX(4px); }
.ps-backup-item:hover::before { opacity: 1; }
.ps-backup-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ps-backup-badge { font-family: var(--font-round); font-size: 8px; font-weight: 800; padding: 3px 9px; border-radius: 4px; white-space: nowrap; flex-shrink: 0; letter-spacing: 0.5px; }
.badge-short  { background: rgba(0,187,220,0.2); color: var(--teal-lt); border: 1px solid rgba(0,187,220,0.35); }
.badge-series { background: rgba(0,92,77,0.15); color: #00C4A0; border: 1px solid rgba(0,92,77,0.3); }
.badge-ss     { background: rgba(255,209,102,0.15); color: var(--star); border: 1px solid rgba(255,209,102,0.3); }
.ps-backup-info { min-width: 0; }
.ps-backup-title { font-family: var(--font-round); font-size: 13px; font-weight: 700; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
.ps-backup-desc { font-size: 10px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-backup-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ps-backup-date { font-size: 10px; color: var(--muted); }
.ps-backup-arrow { color: var(--teal-lt); font-size: 14px; opacity: 0; transform: translateX(-4px); transition: all 0.2s; }
.ps-backup-item:hover .ps-backup-arrow { opacity: 1; transform: translateX(0); }

@media (max-width: 700px) {
  .ps-wiki-layout { grid-template-columns: 1fr; }
  .ps-wiki-aside { position: static; }
  .ps-profile-card { grid-template-columns: 120px 1fr; }
  .ps-info-grid { grid-template-columns: 1fr; }
  .ps-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .ps-page-title { font-size: 24px; }
  .ps-profile-card { grid-template-columns: 1fr; }
  .ps-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .ps-backup-desc { display: none; }
}

/* 글자 흰색 */
.ps-article-content * { color: var(--white) !important; }

/* 카테고리 목록 */
.ps-list-section .ps-page-header { margin-bottom: 24px; }
.ps-list-section .ps-page-title { font-size: 28px; letter-spacing: -0.5px; }
.ps-list-section .ps-backup-list { display: flex; flex-direction: column; gap: 10px; margin-top: 0; }
.ps-list-section .ps-backup-item { background: var(--bg-card); border: 1.5px solid var(--border); border-radius: var(--r-md); padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); }
.ps-list-section .ps-backup-item:hover { background: var(--bg-card2); border-color: var(--teal-lt); transform: translateX(6px); box-shadow: 0 4px 20px rgba(0,187,220,0.15); }
.ps-list-section .ps-backup-badge { background: rgba(0,187,220,0.12); color: var(--teal-lt); border: 1px solid var(--border-lit); font-size: 9px; font-weight: 800; padding: 3px 10px; border-radius: 4px; text-transform: uppercase; }
.ps-list-section .ps-backup-title { font-family: var(--font-round); font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.ps-list-section .ps-backup-desc { font-size: 11px; color: var(--muted); }
.ps-list-section .ps-backup-date { font-size: 11px; font-family: var(--font-round); color: var(--muted); opacity: 0.8; }

.ps-pager-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 40px;
    font-family: var(--font-round);
}

.ps-pager-prev, .ps-pager-next, .ps-pager-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    font-size: 12px;
    color: var(--muted);
    transition: all 0.2s;
}

.ps-pager-prev:hover, .ps-pager-next:hover, .ps-pager-num:hover {
    border-color: var(--teal-lt);
    color: var(--white);
    background: var(--bg-card2);
}

.on,
.ps-pager-num:has(.selected) {
    background: var(--teal) !important;
    color: #fff !important;
    border-color: var(--teal-lt) !important;
    font-weight: 700;
}

@media (max-width: 640px) {
  .ps-list-section .ps-backup-item { padding: 12px 14px; }
  .ps-list-section .ps-backup-title { font-size: 14px; }
  .ps-list-section .ps-backup-right { display: none; }
}

.another_category, #another_category, .container_postbtn, .revenue_unit_wrap { display: none !important; }

/* 본문 상단 여백 */
.ps-article-content {
  margin-top: 24px;
  padding: 0 4px;
  line-height: 1.9;
}

/* 방명록 플로팅 버튼 */
.ps-float-guest {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(0,187,220,0.18);
  border: 1.5px solid rgba(0,187,220,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--teal-lt);
  z-index: 900;
  backdrop-filter: blur(8px);
  transition: all 0.2s;
  text-decoration: none;
  animation: guestPulse 3s ease-in-out infinite;
}

.ps-float-guest:hover { background: rgba(0,187,220,0.35); transform: scale(1.1); }

@keyframes guestPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,187,220,0.4); }
  50%       { box-shadow: 0 0 0 8px rgba(0,187,220,0); }
}

/* 수정/삭제 버튼 컨테이너 */
.ps-admin-btns { 
    display: flex; 
    gap: 6px; 
    margin-top: 10px; 
}

/* 공통 버튼 스타일 */
.ps-admin-btn {
    font-family: var(--font-round);
    font-size: 10px; /* PC에서도 9px은 가독성이 낮을 수 있어 1px 키웠습니다 */
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    background: rgba(0,187,220,0.12);
    border: 1px solid rgba(0,187,220,0.3);
    color: var(--teal-lt);
    transition: all 0.2s;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex; /* 이모티콘과 텍스트 정렬을 위해 추가 */
    align-items: center;
}

.ps-admin-btn:hover { 
    background: rgba(0,187,220,0.25); 
    border-color: var(--teal-lt); 
}

/* 삭제 버튼 전용 */
.ps-admin-del { 
    background: rgba(232,25,44,0.1); 
    border-color: rgba(232,25,44,0.3); 
    color: #FF6070; 
}

.ps-admin-del:hover { 
    background: rgba(232,25,44,0.22); 
    border-color: #FF6070; 
}

/* 방명록/댓글 입력창 */
.ps-guestbook-wrap { margin-top: 20px; }

.ps-guestbook-wrap input,
.ps-guestbook-wrap textarea,
.ps-comments-wrap input,
.ps-comments-wrap textarea {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r-sm) !important;
  color: var(--white) !important;
  padding: 8px 12px !important;
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  width: 100% !important;
  margin-bottom: 8px !important;
}

.ps-guestbook-wrap input:focus,
.ps-guestbook-wrap textarea:focus,
.ps-comments-wrap input:focus,
.ps-comments-wrap textarea:focus {
  border-color: var(--teal) !important;
  outline: none !important;
}

.ps-guestbook-wrap button,
.ps-comments-wrap button[type="submit"] {
  background: var(--teal) !important;
  border: none !important;
  border-radius: var(--r-sm) !important;
  color: #fff !important;
  font-family: var(--font-round) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 8px 20px !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
}

.ps-guestbook-wrap button:hover,
.ps-comments-wrap button[type="submit"]:hover {
  background: #007A8A !important;
}

/* 옵션 줄 정렬 */
.ps-guest-options {
    display: flex !important;
    flex-direction: row !important; /* 가로 정렬 강제 */
    align-items: center !important;
    gap: 12px !important; /* 요소 간 간격 */
    margin: 10px 0 !important;
    color: var(--white);
}
.ps-tistory-check label { display: none !important; }

/* 체크박스와 secret 글자가 잘 보이도록 */
.ps-tistory-check {
    display: flex !important;
    align-items: center !important;
    gap: 5px;
    font-size: 11px !important;
    font-weight: 700;
    white-space: nowrap; /* 글자 줄바꿈 방지 */
}

.ps-tistory-check input[type="checkbox"] {
    display: inline-block !important; /* 숨겨지지 않게 함 */
    width: 15px !important;
    height: 15px !important;
    cursor: pointer;
    margin: 0 !important;
    appearance: checkbox !important; /* 기본 체크박스 모양 강제 */
    -webkit-appearance: checkbox !important;
}

/* PW 표시 그룹 */
#ps-pw-group {
    display: none; /* 기본은 숨김 (JS가 flex로 바꿈) */
    align-items: center !important;
    gap: 8px;
}

.ps-pw-label {
    font-size: 11px !important;
    font-weight: 800 !important;
    color: var(--teal-lt) !important; /* 하늘색 PW */
    line-height: 1;
}

#ps-guest-pw {
    width: 100px !important;
    height: 28px !important;
    background: rgba(0, 187, 220, 0.1) !important;
    border: 1px solid rgba(0, 187, 220, 0.3) !important;
    border-radius: 4px !important;
    color: var(--white) !important;
    padding: 0 8px !important;
    font-size: 11px !important;
    outline: none;
}
#ps-guest-pw:focus { border-color: var(--teal) !important; }

/* 1. 티스토리 강제 주입 'secret' 글자 완전히 지우기 */
.ps-guest-options {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 5px 0;
    /* 핵심: 내부에 쌩으로 들어있는 텍스트만 투명하게 만듦 */
    color: transparent !important; 
    font-size: 0 !important;
    line-height: 0 !important;
}

/* 2. 우리가 만든 체크박스 뭉치 (글자색과 크기 복구) */
.ps-secret-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--teal-lt) !important; /* 글자색 복구 */
    font-size: 11px !important; /* 글자 크기 복구 */
    line-height: 1.5 !important;
}

/* 3. PW 라벨 디자인 강조 */
.ps-checkbox-label {
    font-size: 11px !important;
    font-weight: 900 !important;
    color: var(--teal-lt) !important;
    letter-spacing: 1px;
    cursor: pointer;
    white-space: nowrap; /* 줄바꿈 방지 */
}

/* 4. 체크박스 위치 미세 조정 */
#ps-guest-secret {
    appearance: none; -webkit-appearance: none;
    width: 16px !important; height: 16px !important;
    border: 2px solid rgba(0, 187, 220, 0.4) !important;
    border-radius: 4px !important;
    cursor: pointer;
    position: relative;
    margin: 0 !important;
    flex-shrink: 0; /* 크기 고정 */
}

/* 5. 비밀번호 입력창 (나타날 때 옆으로 밀착) */
#ps-guest-pw {
    display: none; /* JS에서 제어함 */
    width: 100px !important;
    height: 28px !important;
    background: rgba(0, 187, 220, 0.1) !important;
    border: 1px solid rgba(0, 187, 220, 0.3) !important;
    border-radius: 4px !important;
    color: var(--white) !important;
    padding: 0 10px !important;
    font-size: 11px !important;
    outline: none;
}

#ps-guest-pw:focus { border-color: var(--teal) !important; }

/* 방명록 입력창 */
.ps-guest-write textarea {
    width: 100%;
    min-height: 100px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    color: var(--white);
    padding: 12px;
    font-family: var(--font-body);
    font-size: 13px;
    resize: vertical;
    margin-bottom: 10px;
    display: block;
}

.ps-guest-write textarea:focus {
    border-color: var(--teal);
    outline: none;
}

.ps-guest-inputbox {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* 비밀글 체크박스 줄 */
.ps-secret-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.ps-secret-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-family: var(--font-round);
    font-size: 11px;
    font-weight: 700;
    color: var(--teal-lt);
    white-space: nowrap;
}

.ps-secret-check {
    display: none !important;
}

.ps-secret-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-family: var(--font-round);
    font-size: 11px;
    font-weight: 700;
    color: var(--teal-lt);
    white-space: nowrap;
}

.ps-secret-label span {
    position: relative;
    padding-left: 24px;
}

.ps-secret-label span::before {
    content: '🔓';
    position: absolute;
    left: 0;
    font-size: 14px;
    transition: all 0.2s;
}

.ps-secret-check:checked + span::before {
    content: '🔒';
}

/* 비밀번호 입력창 (체크 시 표시) */
.ps-pw-wrap {
    display: none;
    align-items: center;
}

.ps-pw-input {
    background: rgba(0,187,220,0.1) !important;
    border: 1px solid rgba(0,187,220,0.3) !important;
    border-radius: 6px !important;
    color: var(--white) !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
    width: 110px !important;
    height: 30px !important;
    margin: 0 !important;
}

.ps-pw-input:focus {
    border-color: var(--teal) !important;
    outline: none !important;
}

/* 보내기 버튼 */
.ps-guest-inputbox button {
    background: var(--teal) !important;
    border: none !important;
    border-radius: var(--r-sm) !important;
    color: #fff !important;
    font-family: var(--font-round) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 8px 20px !important;
    cursor: pointer !important;
    margin-left: auto;
    transition: background 0.2s !important;
}

.ps-guest-inputbox button:hover { background: #007A8A !important; }

/* 방명록 목록 */
.ps-guest-list { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.ps-guest-list ul { list-style: none; padding: 0; margin: 0; }

.ps-guest-item {
    background: var(--bg-card);
    border: 1px solid var(--border-lit);
    border-radius: 0 var(--r-md) var(--r-md) var(--r-md);
    padding: 14px 16px;
    width: 48%;
    margin-right: auto;
}

.ps-guest-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.ps-guest-name { font-family: var(--font-round); font-size: 12px; font-weight: 700; color: var(--teal-lt); }
.ps-guest-date { font-size: 10px; color: var(--muted); }
.ps-guest-edit, .ps-guest-reply { font-size: 10px; color: var(--muted); cursor: pointer; transition: color 0.2s; }
.ps-guest-edit:hover, .ps-guest-reply:hover { color: var(--teal-lt); }
.ps-guest-text { font-size: 13px; color: var(--white); line-height: 1.7; }

.ps-guest-replies { margin-top: 8px; padding: 0; border: none; }
.ps-guest-replies li {
    background: rgba(0,92,77,0.2);
    border: 1px solid rgba(0,163,137,0.35);
    border-radius: var(--r-md) 0 var(--r-md) var(--r-md);
    padding: 14px 16px;
    width: 48%;
    margin-left: auto;
    margin-top: 8px;
}
.ps-guest-replies .ps-guest-name { color: var(--green-lt); }

/* 트위터 */
.ps-float-twitter {
    position: fixed;
    bottom: 28px;
    right: 76px;
    width: 44px;
    height: 44px;
    background: rgba(0,187,220,0.18);
    border: 1.5px solid rgba(0,187,220,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--teal-lt);
    z-index: 900;
    backdrop-filter: blur(8px);
    transition: all 0.2s;
    text-decoration: none;
}

/* 이웃 배너 */
/* 배너 슬라이더 래퍼 - 화면 전체를 활용하도록 변경 */
.ps-banner-slider-wrap {
    background: transparent !important; /* 배경색 제거 */
    margin-top: 40px; /* 푸터 상단과 배너 사이의 간격 */
    border-top: 1px solid var(--border); /* 푸터 경계선 (선택사항) */
    padding-top: 20px;
}
/* 뷰포트 - 양옆 여백 없이 꽉 차게 */
.ps-banner-viewport {
    width: 100%;
    overflow: hidden;
    /* 길게 보일 때 양끝이 자연스럽게 사라지도록 그라데이션 강화 */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

/* 흐르는 트랙 - gap을 키우고 전체 길이를 늘림 */
.ps-banner-track {
    display: flex;
    gap: 40px; /* 배너 사이 간격을 넓혀서 몰려 보이지 않게 함 */
    width: max-content;
    padding: 0 20px;
    animation: bannerScroll 20s linear infinite; /* 길어진 만큼 속도를 조금 더 천천히 (35초) */
}

/* 배너 아이템 크기 및 디자인 */
.ps-banner-item {
    flex-shrink: 0;
    display: block;
    border-radius: var(--r-sm);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: all 0.3s ease;
}

.ps-banner-item img {
    display: block;
    height: 42px; /* 높이는 적당히 유지하면서 가로로 넓게 배치 */
    width: auto;
}

.footer-info {
    margin-top: 20px;
    text-align: center;
}

/* 애니메이션: 간격이 넓어졌으므로 계산 방식 유지 */
@keyframes bannerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 모바일에서도 너무 몰리지 않게 조절 */
@media (max-width: 640px) {
    .ps-banner-track {
        gap: 25px; /* 모바일은 간격을 조금 줄임 */
        animation-duration: 10s;
    }
}

/* 성향글 전체 프레임 */
.ps-dream-profile {
    max-width: 750px;
    margin: 20px auto;
    font-family: var(--font-round);
    color: var(--text-main);
    line-height: 1.8;
}

/* 섹션 공통 스타일 */
.ps-dream-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 187, 220, 0.15);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

/* 섹션 상단 라벨 */
.ps-section-label {
    display: inline-block;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
    padding: 2px 10px;
    border-radius: 20px;
    background: var(--teal-lt);
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.ps-section-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--teal-lt);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 본문 강조 텍스트 */
.ps-dream-card b { color: var(--teal-lt); font-weight: 800; }
.ps-dream-card ul { list-style: none; padding: 0; margin: 0; }
.ps-dream-card li { margin-bottom: 8px; position: relative; padding-left: 15px; }
.ps-dream-card li::before { content: '•'; position: absolute; left: 0; color: var(--teal-lt); }

/* NG 섹션 (레드 포인트) */
.ps-card-ng { border-color: rgba(232, 25, 44, 0.2); background: rgba(232, 25, 44, 0.02); }
.ps-card-ng .ps-section-label { background: #FF6070; }
.ps-card-ng .ps-section-title { color: #FF6070; }
.ps-card-ng li::before { color: #FF6070; }

/* 배려 리스트 그리드 */
.ps-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 13px;
}

.ps-list-item {
    background: rgba(255, 255, 255, 0.5);
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid rgba(0, 187, 220, 0.05);
}

@media (max-width: 640px) {
    .ps-list-grid { grid-template-columns: 1fr; }
}