body {
  font-size: 15px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0;
  padding: 20px;
  max-width: 700px;
  margin: 60px auto;
  align-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  justify-items: center;
  justify-content: center;
}

.main_text {
  font-size: 0.8rem;
  color: #e8e8e8;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.grid button {
  margin: 0px 0 5px 0;
  display: flex;
  padding: 10px;
  font-size: 15px;
  background-color: #ffffff00;
  border: 0px solid #ccc;
  border-radius: 208px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  white-space: normal;
  width: 4rem;
  flex-direction: column;
  justify-content: flex-start;
  color: #e8e8e8;
}

.grid button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

/* 팝업 배경 (반투명 블랙) */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(34, 211, 238, 0.08), transparent 34%),
    rgba(0, 0, 0, 0.72);
  z-index: 10000;
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
  display: block !important;
  /* Force display when active */
}

/* 팝업 본체 */
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(100%, -50%);
  background:
    radial-gradient(circle at 18% 0%, rgba(34, 211, 238, 0.095), transparent 38%),
    linear-gradient(135deg, rgba(33, 37, 41, 0.97), rgba(10, 15, 22, 0.96));
  padding: 32px 24px 24px;
  border-radius: 20px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.78), 0 0 1px rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.13);
  z-index: 10001;
  max-height: 85vh;
  max-width: 950px;
  width: 90%;
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

/* 데스크탑 와이드 모달 (시설안내, 주의사항 등) */
.popup.wide-popup {
  max-width: 950px !important;
}

.popup.active {
  transform: translate(-50%, -50%);
  opacity: 1;
  pointer-events: auto;
  display: block !important;
  /* Force display when active */
}

.popup::-webkit-scrollbar {
  width: 8px;
}

.popup::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.popup::-webkit-scrollbar-thumb {
  background: rgba(139, 220, 255, 0.62);
  border-radius: 10px;
}

.popup::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 220, 255, 0.82);
}

.popup h3 {
  margin-top: 0;
  font-size: 20px;
  text-align: center;
  color: #e8e8e8;
}

.popup input {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background-color: rgba(255, 255, 255, 0.08);
  color: #e8e8e8;
  box-sizing: border-box;
}

.popup-buttons {
  display: flex;
  justify-content: space-between;
}

.popup-buttons button {
  flex: 1;
  margin: 0 5px;
  padding: 10px;
  font-size: 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.popup-buttons button:first-child {
  background-color: #1f5f86;
  color: white;
}

.popup-buttons button:first-child:hover {
  background-color: #26729d;
}

.popup-buttons button:last-child {
  background-color: #f44336;
  color: white;
}

.popup-buttons button:last-child:hover {
  background-color: #e53935;
}



.icon-main {
  /* height: 4rem; */
  display: flex;
  border: 0;
  justify-content: center;
  align-items: center;
  position: relative;
  /* top: -125px; */
  left: 50%;
  transform: translateX(-50%);
  font-size: 5rem;
}

.icon-lock {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100px;
  height: 100px;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 16px;
  background:
    radial-gradient(circle at 35% 0%, rgba(139, 220, 255, 0.18), transparent 48%),
    linear-gradient(145deg, rgba(42, 46, 50, 0.96), rgba(25, 31, 38, 0.96));
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.16);
}

.icon-lock img {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

#xxx_btn {
  border: 0;
  font-size: 1.8rem;
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-weight: 300;
}

#xxx_btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
  color: #e8e8e8;
}

h1 {
  font-weight: 700;
  font-size: 1.4rem;
  color: #e8e8e8;
  margin-bottom: 24px;
  margin-top: 12px;
  text-align: center;
  letter-spacing: -0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

p {
  line-height: 1.7;
  margin-bottom: 16px;
  color: #c8c8c8;
  font-size: 0.95rem;
}

strong {
  color: #ffffff;
  font-weight: 600;
}

em {
  color: #999;
  font-style: normal;
  font-size: 0.9rem;
}

b {
  color: #ff6b6b;
  font-weight: 600;
}

.highlight {
  background-color: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.link-box {
  margin-top: 12px;
}

.link-box input {
  width: 100%;
  padding: 10px;
  border: 1px solid #444;
  border-radius: 8px;
  font-size: 15px;
  background-color: #333;
  color: #e8e8e8;
}

.png_main {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

/* a.button {
    display: block;
    background-color: #03c75a;
    color: white;
    text-align: center;
    text-decoration: none;
    padding: 14px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.2s ease;
  } */

a.button:hover {
  background-color: #02b050;
}

.below-link {
  margin-top: 12px;
  font-size: 14px;
  text-align: center;
  word-break: break-all;
  color: #999;
}

ul {
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
}

.copy-button {
  margin-left: 8px;
  padding: 6px 10px;
  font-size: 13px;
  background-color: #444;
  color: #e8e8e8;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.copy-button:hover {
  background-color: #555;
}






/* popup.css - 공통 CSS */



.container {
  position: relative;
  background: transparent;
  max-width: 100%;
  padding: 0;
}

ul {
  padding-left: 8px;
  list-style: none;
  margin: 20px 0;
}

li {
  margin-bottom: 20px;
  color: #c8c8c8;
  font-size: 0.95rem;
  line-height: 1.8;
  padding-left: 32px;
  position: relative;
  transition: all 0.2s ease;
}

li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  background: #1f5f86;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  flex-shrink: 0;
}

li:hover {
  color: #e8e8e8;
  transform: translateX(3px);
}

.notice-list li {
  color: #c8c8c8;
  font-size: 0.95rem;
}

.notice-list li strong {
  color: #ffffff;
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.important {
  color: #ff6b6b;
  font-weight: 600;
  background-color: rgba(255, 107, 107, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
}

a.button {
  display: inline-block;
  margin: 24px 0 15px;
  padding: 14px 28px;
  background: #1f5f86;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  width: 100%;
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(3, 169, 244, 0.16);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

a.button:before {
  content: none;
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

a.button:hover {
  background: #26729d;
  box-shadow: 0 10px 24px rgba(3, 169, 244, 0.2);
  transform: translateY(-2px);
}

a.button:hover:before {
  left: 100%;
}

a.button:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(3, 169, 244, 0.16);
}

.copy-button {
  padding: 6px 10px;
  font-size: 13px;
  background-color: #1f5f86;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-left: 6px;
}

.copy-button:hover {
  background-color: #26729d;
}

.inline-button {
  padding: 6px 12px;
  font-size: 13px;
  border: 1.5px solid rgba(139, 220, 255, 0.58);
  border-radius: 8px;
  background-color: transparent;
  color: #8bdcff;
  font-weight: 600;
  margin: 4px 3px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.inline-button:hover {
  background-color: #1f5f86;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(3, 169, 244, 0.2);
}

.notice-list a {
  color: #8bdcff !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 2px solid rgba(139, 220, 255, 0.56) !important;
  padding-bottom: 1px;
  transition: all 0.2s ease;
}

.notice-list a:hover {
  color: #b9ecff !important;
  border-bottom-color: #b9ecff !important;
}

.below-link {
  margin-top: 8px;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 하우투 페이지 인포박스 */
.info-box {
  border: 1px solid rgba(139, 220, 255, 0.24);
  border-radius: 16px;
  background:
    radial-gradient(circle at 18% 0%, rgba(34, 211, 238, 0.12), transparent 38%),
    rgba(255, 255, 255, 0.055);
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.info-main {
  font-size: 1.05rem;
  color: #e8e8e8;
  margin-bottom: 16px;
  font-weight: 500;
  line-height: 1.7;
}

.info-sub {
  padding: 12px 16px;
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  border: 1px solid rgba(139, 220, 255, 0.18);
}

.info-sub p {
  font-size: 0.9rem;
  color: #c8c8c8;
  margin-bottom: 8px;
  font-weight: 500;
}

.info-sub p:last-child {
  margin-bottom: 0;
}

/* --- 다크 테마 공통 컴포넌트 추가 --- */

/* 1. 공통 박스 스타일 (night, price, address, info 통합) */
.night-box,
.price-box,
.address-box,
.info-box {
  background:
    radial-gradient(circle at 18% 0%, rgba(34, 211, 238, 0.1), transparent 38%),
    rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  padding: 18px;
  margin: 20px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.night-box {
  border-color: rgba(139, 220, 255, 0.22);
}

.price-box {
  border-color: rgba(139, 220, 255, 0.22);
}

.address-box {
  border-color: rgba(139, 220, 255, 0.22);
}

.info-box {
  border-color: rgba(139, 220, 255, 0.22);
}

.night-box strong,
.price-box strong,
.address-box strong,
.info-box strong {
  color: #ffffff;
  font-size: 1rem;
  display: block;
  margin-bottom: 8px;
}

.night-box p,
.price-box p,
.address-box p,
.info-box p {
  color: #cccccc;
  margin: 0;
  line-height: 1.6;
}

.night-box code {
  display: block;
  background: #1a1a1a;
  padding: 12px;
  border-radius: 8px;
  margin-top: 10px;
  color: #e8e8e8;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  border: 1px solid #444;
}

/* 2. 프로세스 플로우 (step-flow) */
.step-flow {
  background: rgba(255, 255, 255, 0.055);
  padding: 16px;
  border-radius: 10px;
  margin: 20px 0;
  text-align: center;
  border: 1px solid rgba(139, 220, 255, 0.24);
}

.step-flow strong {
  color: #8bdcff;
  font-size: 1rem;
}

/* 3. 가격표 테이블 (price-table) - 다크 테마 */
.price-table {
  width: 100%;
  max-width: 600px;
  margin: 24px auto;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  background-color: #2a2a2a;
  color: #e8e8e8;
}

.price-table th {
  background: #333;
  color: #ffffff;
  padding: 14px 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  border: 1px solid #444;
}

.price-table td {
  background: #252525;
  color: #e8e8e8;
  padding: 16px 8px;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  border: 1px solid #444;
}

.price-table td:first-child {
  font-weight: 600;
  position: relative;
  padding-left: 24px;
  text-align: left;
  background: #2a2a2a;
}

/* 테이블 왼쪽 컬러 인디케이터 */
.price-table tr:nth-child(1) td:first-child::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid #ffa500;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.price-table tr:nth-child(2) td:first-child::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid #2196f3;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.price-table tr:nth-child(3) td:first-child::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid #00bcd4;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.price-table tr:nth-child(4) td:first-child::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid #4caf50;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.price-table tr:nth-child(5) td:first-child::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid #ff9800;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}


/* 4. 이미지 스타일 */
img.price-image,
img.refund-image {
  display: block;
  max-width: 90%;
  height: auto;
  margin: 24px auto;
  border: 1px solid #444;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* 5. 주차 리스트 등 */
.parking-list li {
  color: #cccccc;
  margin-bottom: 10px;
}

.emphasis {
  background-color: rgba(255, 107, 107, 0.1);
  color: #ff6b6b;
  padding: 4px 8px;
  border-radius: 4px;
}

/* 6. 헤더 */
h3 {
  color: #e8e8e8;
  font-size: 1.15rem;
  margin: 24px 0 12px;
  padding-left: 10px;
  border-left: 5px solid rgba(139, 220, 255, 0.7);
  /* 기본은 초록, override 가능 */
}

/* 새 상세창 디자인 */
.popup {
  max-width: min(920px, calc(100vw - 44px));
  padding: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(34, 211, 238, 0.055), transparent 42%),
    linear-gradient(135deg, rgba(34, 38, 42, 0.98), rgba(24, 28, 33, 0.98));
}

.popup.wide-popup {
  max-width: min(920px, calc(100vw - 44px)) !important;
}

#popupContent {
  min-height: 0;
}

.detail-page {
  --detail-accent: #8bdcff;
  --detail-accent-rgb: 139, 220, 255;
  position: relative;
  padding: 28px;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans KR", "Segoe UI", sans-serif;
}

.detail-page * {
  box-sizing: border-box;
}

.detail-close,
#xxx_btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font-size: 0;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.detail-close::before,
#xxx_btn::before {
  content: "×";
  font-size: 24px;
  font-weight: 300;
  transform: translateY(-1px);
}

.detail-close:hover,
#xxx_btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  transform: translateY(-1px);
}

.detail-header {
  min-height: 104px;
  margin-bottom: 18px;
  padding: 0 58px 0 0;
}

.detail-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--detail-accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.detail-page h1 {
  margin: 0 !important;
  color: #ffffff;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 900;
  line-height: 1.22;
  text-align: left;
  text-shadow: none;
}

.detail-lead {
  max-width: 620px;
  margin: 10px 0 0 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 1.02rem !important;
  font-weight: 650;
  line-height: 1.62 !important;
}

.detail-section,
.detail-card,
.detail-summary {
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.055);
  border-radius: 16px;
}

.detail-summary {
  margin-bottom: 14px;
  padding: 16px 18px;
}

.detail-summary strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 1.08rem;
  line-height: 1.35;
}

.detail-summary p,
.detail-card p {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.98rem !important;
  line-height: 1.62 !important;
}

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

.detail-action,
.detail-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff !important;
  font-size: 0.98rem;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
}

.detail-action-primary {
  background: #03c75a;
  border-color: #03c75a;
  box-shadow: 0 10px 22px rgba(3, 199, 90, 0.18);
}

.detail-action-secondary {
  background: #142332;
  border-color: rgba(139, 220, 255, 0.24);
  color: #d9f0ff !important;
}

.detail-steps,
.detail-grid,
.detail-list,
.detail-refund-grid {
  display: grid;
  gap: 10px;
}

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

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

.detail-step {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.055);
}

.detail-step-number {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(var(--detail-accent-rgb), 0.16);
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 900;
}

.detail-step strong,
.detail-card strong {
  display: block;
  margin-bottom: 5px;
  color: #ffffff;
  font-size: 1.03rem;
  line-height: 1.35;
}

.detail-step p {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.98rem !important;
  line-height: 1.62 !important;
}

.detail-card {
  padding: 15px;
}

.detail-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  margin: 0;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.98rem;
  line-height: 1.6;
  box-shadow: none;
}

.detail-list li::before {
  content: none !important;
}

.detail-list strong {
  color: #ffffff;
}

.detail-muted {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.92rem;
  line-height: 1.5;
}

.detail-highlight {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ffc107;
  color: #1f1f1f;
  font-size: 0.82rem;
  font-weight: 900;
}

.detail-my-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #029df7;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  vertical-align: baseline;
}

.detail-example {
  margin: 10px 0 14px;
  padding: 14px 16px;
  border: 1px solid rgba(139, 220, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.55;
}

.detail-price-table {
  width: 100%;
  margin-top: 12px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  color: #ffffff;
  font-size: 0.9rem;
}

.detail-price-table th,
.detail-price-table td {
  padding: 11px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  text-align: center;
}

.detail-price-table th {
  background: rgba(255, 255, 255, 0.08);
  font-weight: 850;
}

.detail-price-table td {
  background: rgba(255, 255, 255, 0.045);
}

.detail-price-table tr:last-child td {
  border-bottom: 0;
}

.detail-price-table th:last-child,
.detail-price-table td:last-child {
  border-right: 0;
}

.detail-refund-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 14px;
}

.detail-refund-rate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(139, 220, 255, 0.16);
  color: #ffffff;
  font-weight: 900;
}

.detail-refund-rate.good {
  background: rgba(3, 199, 90, 0.2);
  color: #7df0ad;
}

.detail-refund-rate.warn {
  background: rgba(255, 107, 107, 0.18);
  color: #ff9b9b;
}

.detail-image {
  display: block;
  max-width: min(560px, 100%);
  height: auto;
  margin: 14px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
}

@media (max-width: 760px) {
  .detail-page {
    padding: 22px 18px;
  }

  .detail-header {
    padding-right: 50px;
  }

  .detail-actions,
  .detail-grid.two,
  .detail-grid.three,
  .detail-refund-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1000px) {
  .popup {
    width: min(900px, calc(100vw - 56px));
    max-height: calc(100vh - 48px);
    overflow: hidden !important;
    scrollbar-width: none;
  }

  .popup::-webkit-scrollbar {
    display: none;
  }

  .detail-page {
    max-height: calc(100vh - 48px);
    padding: 18px;
    overflow: hidden;
  }

  .detail-header {
    min-height: auto;
    margin-bottom: 10px;
  }

  .detail-page h1 {
    font-size: 1.58rem;
  }

  .detail-lead {
    margin-top: 6px !important;
    font-size: 0.92rem !important;
    line-height: 1.42 !important;
  }

  .detail-summary {
    margin-bottom: 8px;
    padding: 10px 12px;
  }

  .detail-actions {
    gap: 8px;
    margin-bottom: 10px;
  }

  .detail-action,
  .detail-button {
    min-height: 44px;
    padding: 9px 12px;
  }

  .detail-steps,
  .detail-grid,
  .detail-list,
  .detail-refund-grid {
    gap: 8px;
  }

  .detail-step,
  .detail-card,
  .detail-list li {
    padding: 10px 11px;
  }

  .detail-list {
    margin-top: 8px;
  }

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

  .detail-price-table {
    margin-top: 8px;
    font-size: 0.78rem;
  }

  .detail-price-table th,
  .detail-price-table td {
    padding: 6px 5px;
  }

  .detail-refund-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 8px;
  }

  .detail-refund-rate {
    height: 30px;
    min-width: 48px;
    margin-top: 6px;
    font-size: 0.88rem;
  }

  .detail-image {
    max-height: 120px;
    object-fit: contain;
  }
}
