@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Cinzel:wght@400;600;700;800&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

:root {
  --bg-dark: #05060b;
  --bg-card: rgba(15, 20, 35, 0.55);
  --bg-card-hover: rgba(25, 32, 55, 0.75);
  --gold-primary: #f3e5ab;
  --gold-light: #fff5d6;
  --gold-metallic: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
  --cyan-ethereal: #70e4ef;
  --violet-glow: #9d4edd;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --border-gold: rgba(212, 175, 55, 0.25);
  --border-glow: rgba(112, 228, 239, 0.3);
  --glass-blur: blur(16px);
  --font-display: 'Cinzel Decorative', serif;
  --font-title: 'Cinzel', serif;
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  width: 100%;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #05060b;
}
::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.6);
}

/* Canvas Background */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* Ambient Radial Glows */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.45;
  animation: pulse-glow 12s infinite alternate ease-in-out;
}
.glow-1 {
  top: -10%;
  left: 30%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(157, 78, 221, 0.35) 0%, rgba(0,0,0,0) 70%);
}
.glow-2 {
  bottom: -15%;
  right: 15%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(112, 228, 239, 0.25) 0%, rgba(0,0,0,0) 70%);
}
.glow-3 {
  top: 40%;
  left: -10%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, rgba(0,0,0,0) 70%);
}

@keyframes pulse-glow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.35; }
  100% { transform: scale(1.15) translate(3%, 4%); opacity: 0.55; }
}

/* Main Container */
.app-container {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navigation Bar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem 4rem;
  background: rgba(5, 6, 11, 0.4);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--gold-primary);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.2em;
}

.nav-brand-symbol {
  width: 32px;
  height: 32px;
  color: var(--cyan-ethereal);
  filter: drop-shadow(0 0 8px rgba(112, 228, 239, 0.5));
  transition: transform 0.6s ease;
}

.nav-brand:hover .nav-brand-symbol {
  transform: rotate(180deg);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-title);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s, text-shadow 0.3s;
  position: relative;
  padding: 0.4rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--gold-metallic);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover {
  color: var(--gold-primary);
  text-shadow: 0 0 10px rgba(243, 229, 171, 0.4);
}

.nav-link:hover::after {
  width: 100%;
  left: 0;
}


.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.lang-select {
  height: 36px;
  box-sizing: border-box;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(229, 193, 88, 0.4);
  color: var(--gold-light, #f3e5ab);
  padding: 0 1.9rem 0 0.8rem;
  border-radius: 20px;
  font-family: var(--font-title, 'Cinzel', sans-serif);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23f3e5ab' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.lang-select:hover, .lang-select:focus {
  background-color: rgba(229, 193, 88, 0.15);
  box-shadow: 0 0 15px rgba(229, 193, 88, 0.35);
  border-color: var(--gold-primary, #e5c158);
  color: #ffffff;
}

.lang-select option {
  background: #0b0f19;
  color: var(--gold-primary, #f3e5ab);
  padding: 0.5rem;
}

/* Hero Section */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 90px);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.2rem;
  background: rgba(112, 228, 239, 0.07);
  border: 1px solid rgba(112, 228, 239, 0.25);
  border-radius: 50px;
  font-family: var(--font-title);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--cyan-ethereal);
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeInDown 1s ease-out;
  box-shadow: 0 0 20px rgba(112, 228, 239, 0.1);
}

.hero-badge-sparkle {
  color: var(--gold-primary);
}

/* Geometric Emblem */
.mandala-wrapper,
.yinyang-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  margin-bottom: 2.5rem;
  cursor: pointer;
}

.mandala-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.4));
  animation: rotateMandala 60s linear infinite;
  transition: filter 0.5s ease;
}

.mandala-wrapper:hover .mandala-svg {
  filter: drop-shadow(0 0 45px rgba(112, 228, 239, 0.7));
  animation-duration: 25s;
}

.yinyang-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 25px rgba(229, 193, 88, 0.4));
  animation: rotateYin 45s linear infinite;
  transition: filter 0.4s ease;
}

.yinyang-wrapper:hover .yinyang-svg {
  filter: drop-shadow(0 0 45px rgba(77, 238, 234, 0.8));
}

@keyframes rotateYin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.mandala-center-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 45px;
  height: 45px;
  background: radial-gradient(circle, #ffffff 0%, var(--gold-primary) 40%, rgba(157, 78, 221, 0.8) 100%);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 60px rgba(112, 228, 239, 0.6);
  animation: orbPulse 3s infinite ease-in-out;
}

@keyframes rotateMandala {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.85; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

/* Main Title */
.hero-title-container {
  max-width: 950px;
  margin: 0 auto;
}

.hero-title-sub {
  font-family: var(--font-title);
  font-size: 1.1rem;
  letter-spacing: 0.4em;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero-title-main {
  font-family: var(--font-display), 'Pretendard', sans-serif;
  font-size: clamp(2.4rem, 5.2vw, 4.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.04em;
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.8));
  margin-bottom: 0.8rem;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s var(--transition-smooth), filter 0.3s ease;
}

.hero-title-main:hover {
  filter: drop-shadow(0 4px 30px rgba(212, 175, 55, 0.6)) brightness(1.15);
  transform: translateY(-2px);
}


.hero-description {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: #cbd5e1;
  max-width: 720px;
  margin: 0 auto 3rem auto;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.hero-cta-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hero-cta-group.hero-cta-extra {
  margin-top: 2.5rem;
}

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(157, 78, 221, 0.25) 100%);
  border: 1px solid var(--gold-primary);
  border-radius: 4px;
  color: var(--gold-light);
  font-family: var(--font-title);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s var(--transition-smooth);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.15);
}

.btn-primary::before {
  content: '';
  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.6s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.45) 0%, rgba(112, 228, 239, 0.35) 100%);
  box-shadow: 0 0 35px rgba(212, 175, 55, 0.4), 0 0 15px rgba(112, 228, 239, 0.3);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 1rem 2.2rem;
  background: rgba(15, 20, 35, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: var(--text-main);
  font-family: var(--font-title);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
  border-color: var(--cyan-ethereal);
  color: var(--cyan-ethereal);
  box-shadow: 0 0 20px rgba(112, 228, 239, 0.2);
  transform: translateY(-2px);
}

/* Content Sections */
.section-padding {
  padding: 6rem 4rem;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 4rem auto;
  cursor: pointer;
  transition: transform 0.3s var(--transition-smooth), filter 0.3s ease;
}

.section-header:hover {
  filter: brightness(1.2);
  transform: translateY(-2px);
}

.section-tag {
  font-family: var(--font-title);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--cyan-ethereal);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2.2rem;
  color: var(--gold-primary);
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--gold-metallic);
  margin: 0 auto 1rem auto;
}

/* Pillar Cards Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pillar-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  transition: all 0.4s var(--transition-smooth);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pillar-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(212, 175, 55, 0.15);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.pillar-title {
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: #f8fafc;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.pillar-desc {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Glass Bead Oracle Interactive Matrix */
.oracle-container {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(10, 14, 26, 0.7);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 3.5rem 2.5rem;
  backdrop-filter: var(--glass-blur);
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), inset 0 0 30px rgba(112, 228, 239, 0.05);
}

.oracle-quote-display {
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(212, 175, 55, 0.2);
}

.oracle-quote-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--gold-light);
  line-height: 1.6;
  margin-bottom: 0.8rem;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.oracle-quote-author {
  font-family: var(--font-title);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--cyan-ethereal);
  text-transform: uppercase;
}

.bead-nodes-grid {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.bead-node {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(20, 25, 45, 0.8);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-family: var(--font-title);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.bead-node:hover, .bead-node.active {
  background: radial-gradient(circle, var(--gold-primary) 0%, #b38728 100%);
  color: #05060b;
  border-color: #ffffff;
  box-shadow: 0 0 25px rgba(243, 229, 171, 0.8), 0 0 10px rgba(112, 228, 239, 0.5);
  transform: scale(1.18);
}

/* Modal Immersion */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 5, 9, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  max-width: 600px;
  width: 90%;
  text-align: center;
  padding: 3rem;
  border: 1px solid var(--gold-primary);
  border-radius: 16px;
  background: rgba(12, 16, 30, 0.85);
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.25);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.6s var(--transition-smooth);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.3s;
}

.modal-close-btn:hover {
  color: var(--gold-primary);
}

.breath-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin: 2rem auto;
  border: 2px solid var(--cyan-ethereal);
  box-shadow: 0 0 30px rgba(112, 228, 239, 0.4), inset 0 0 30px rgba(112, 228, 239, 0.2);
  animation: breathe 8s infinite ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  color: var(--gold-light);
  letter-spacing: 0.15em;
  font-size: 0.85rem;
}

@keyframes breathe {
  0%, 100% { transform: scale(0.85); opacity: 0.5; box-shadow: 0 0 20px rgba(112, 228, 239, 0.2); }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 60px rgba(243, 229, 171, 0.8); }
}

/* Footer */
.footer {
  margin-top: auto;
  padding: 3rem 4rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  background: rgba(5, 6, 11, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-title);
  font-size: 1.1rem;
  letter-spacing: 0.25em;
  color: var(--gold-primary);
}

.footer-text {
  font-family: var(--font-serif);
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 500px;
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.6);
  letter-spacing: 0.1em;
}

/* --- Right Corner Network Dropdown Menu --- */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  box-sizing: border-box;
  gap: 0.45rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(229, 193, 88, 0.4);
  color: var(--gold-light, #f3e5ab);
  padding: 0 0.95rem;
  border-radius: 20px;
  font-family: var(--font-title, 'Cinzel', sans-serif);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.nav-dropdown-btn:hover,
.nav-dropdown.active .nav-dropdown-btn {
  background: rgba(229, 193, 88, 0.15);
  border-color: var(--gold-primary, #e5c158);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(229, 193, 88, 0.35);
}

.nav-dropdown-btn .dropdown-arrow {
  transition: transform 0.3s ease;
  color: var(--cyan-ethereal, #70e4ef);
  flex-shrink: 0;
}

.nav-dropdown.active .nav-dropdown-btn .dropdown-arrow {
  transform: rotate(180deg);
}

.user-auth-btn,
.btn-nav-auth {
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: rgba(15, 23, 42, 0.6) !important;
  border: 1px solid rgba(229, 193, 88, 0.4) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.05rem !important;
  cursor: pointer !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
}

.user-auth-btn:hover,
.btn-nav-auth:hover,
.nav-dropdown.active .user-auth-btn {
  background: rgba(229, 193, 88, 0.18) !important;
  border-color: var(--gold-primary, #e5c158) !important;
  box-shadow: 0 0 15px rgba(229, 193, 88, 0.35) !important;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  width: 260px;
  max-width: 88vw;
  background: rgba(8, 11, 22, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(229, 193, 88, 0.4);
  border-radius: 12px;
  padding: 0.5rem 0;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.85), 0 0 20px rgba(112, 228, 239, 0.2);
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.96);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9999;
}

.nav-dropdown.active .nav-dropdown-menu {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  padding: 0.65rem 1.1rem;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: rgba(112, 228, 239, 0.08);
  border-left-color: var(--cyan-ethereal, #70e4ef);
  padding-left: 1.3rem;
}

.dropdown-item.dropdown-sub-item:hover {
  padding-left: 1.8rem !important;
}

.dropdown-item .item-title,
.dropdown-section-header,
.dropdown-section-header .item-title {
  color: #ffffff;
  font-family: var(--font-title, 'Cinzel', serif) !important;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.dropdown-item:hover .item-title {
  color: var(--cyan-ethereal, #70e4ef) !important;
}

.dropdown-item .item-url {
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-serif, serif);
  font-size: 0.73rem;
  margin-top: 0.15rem;
}

/* Responsive queries */
@media (max-width: 992px) {
  .navbar {
    padding: 0.9rem 1.2rem;
  }
  .nav-brand {
    font-size: 1rem;
    letter-spacing: 0.08em;
    gap: 0.45rem;
    min-width: 0;
    flex: 0 1 auto;
  }
  .nav-brand span {
    white-space: nowrap;
  }
  .nav-brand-symbol {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }
  .nav-links {
    display: none !important;
  }
  .nav-controls {
    gap: 0.45rem !important;
  }
  .section-padding {
    padding: 4rem 1.5rem;
  }
  .hero-section {
    padding: 3rem 1rem;
  }
  .mandala-wrapper,
  .yinyang-wrapper {
    width: 170px;
    height: 170px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0.75rem 0.85rem;
  }
  .nav-brand {
    font-size: 0.88rem;
    letter-spacing: 0.05em;
    gap: 0.38rem;
  }
  .nav-brand-symbol {
    width: 21px;
    height: 21px;
  }
  .nav-controls {
    gap: 0.38rem !important;
  }
  .lang-select {
    height: 34px;
    padding: 0 1.5rem 0 0.6rem;
    font-size: 0.76rem;
    background-position: right 0.45rem center;
  }
  .user-auth-btn,
  .btn-nav-auth {
    width: 34px !important;
    height: 34px !important;
    font-size: 0.98rem !important;
  }
  .nav-dropdown-btn {
    width: 34px;
    height: 34px;
    padding: 0;
    justify-content: center;
    gap: 0;
  }
  .nav-dropdown-btn .nav-btn-text,
  .nav-dropdown-btn .dropdown-arrow,
  .nav-btn-text {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0.65rem 0.55rem;
  }
  .nav-brand {
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    gap: 0.28rem;
  }
  .nav-brand span {
    font-size: 0.75rem;
    letter-spacing: 0.02em;
  }
  .nav-brand-symbol {
    width: 18px;
    height: 18px;
  }
  .nav-controls {
    gap: 0.28rem !important;
  }
  .lang-select {
    height: 32px;
    padding: 0 1.25rem 0 0.45rem;
    font-size: 0.72rem;
    background-position: right 0.35rem center;
  }
  .user-auth-btn,
  .btn-nav-auth {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.92rem !important;
  }
  .nav-dropdown-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    justify-content: center;
    gap: 0;
  }
  .nav-dropdown-btn .nav-btn-icon {
    width: 16px;
    height: 16px;
  }
  .nav-dropdown-btn .dropdown-arrow,
  .nav-btn-text {
    display: none !important;
  }
  .nav-dropdown-menu {
    width: 245px;
    right: 0;
  }
}

/* =============================================================
 * Masters of Change (Great Minds Section)
 * ============================================================= */
.masters-section {
  position: relative;
  background: radial-gradient(circle at 50% 20%, rgba(20, 27, 50, 0.6) 0%, rgba(5, 6, 11, 0.95) 75%);
  border-top: 1px solid rgba(229, 193, 88, 0.2);
  border-bottom: 1px solid rgba(229, 193, 88, 0.2);
}

.masters-intro-box {
  max-width: 860px;
  margin: 0 auto 3.5rem auto;
  padding: 2.2rem 2.8rem;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(229, 193, 88, 0.3);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  text-align: center;
}

.masters-intro-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-style: italic;
  color: var(--gold-light, #fff5d6);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.masters-intro-desc {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.8;
  word-break: keep-all;
}

.masters-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.masters-tab-btn {
  padding: 0.85rem 1.8rem;
  border-radius: 30px;
  background: rgba(15, 20, 35, 0.7);
  border: 1px solid rgba(229, 193, 88, 0.3);
  color: var(--text-muted);
  font-family: var(--font-title);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.masters-tab-btn:hover {
  border-color: var(--cyan-ethereal, #70e4ef);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(112, 228, 239, 0.2);
}

.masters-tab-btn.active {
  background: linear-gradient(135deg, rgba(229, 193, 88, 0.25) 0%, rgba(16, 185, 129, 0.2) 100%);
  border-color: var(--gold-primary, #e5c158);
  color: var(--gold-light, #fff5d6);
  box-shadow: 0 0 25px rgba(229, 193, 88, 0.35);
}

.masters-tab-pane {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.masters-tab-pane.active {
  display: block;
}

.masters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.8rem;
  max-width: 1200px;
  margin: 0 auto;
}

.master-card {
  background: rgba(13, 18, 32, 0.78);
  border: 1px solid rgba(229, 193, 88, 0.22);
  border-radius: 16px;
  padding: 2rem 1.8rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.master-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(229, 193, 88, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.master-card:hover {
  transform: translateY(-5px);
  border-color: rgba(229, 193, 88, 0.5);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7), 0 0 25px rgba(229, 193, 88, 0.18);
}

.master-card:hover::before {
  opacity: 1;
}

.master-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 14px;
  margin-bottom: 0.8rem;
  background: rgba(112, 228, 239, 0.12);
  color: var(--cyan-ethereal, #70e4ef);
  border: 1px solid rgba(112, 228, 239, 0.25);
  align-self: flex-start;
}

.master-tag.gold {
  background: rgba(229, 193, 88, 0.12);
  color: var(--gold-primary, #e5c158);
  border-color: rgba(229, 193, 88, 0.25);
}

.master-name {
  font-family: var(--font-title);
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.master-role {
  font-size: 0.88rem;
  color: var(--gold-primary, #e5c158);
  margin-bottom: 1rem;
  font-family: var(--font-serif);
  font-weight: 600;
}

.master-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.98rem;
  color: #f1f5f9;
  background: rgba(0, 0, 0, 0.35);
  border-left: 3px solid var(--gold-primary);
  padding: 0.8rem 1rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 1.1rem;
  line-height: 1.6;
}

.master-desc {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.7;
  word-break: keep-all;
}

/* Timeline Flow */
.timeline-container {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  padding: 2rem 0;
}

.timeline-flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.timeline-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(229, 193, 88, 0.28);
  border-radius: 14px;
  padding: 1.8rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.timeline-era {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--cyan-ethereal, #70e4ef);
  margin-bottom: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.timeline-figures {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.timeline-figures li {
  font-size: 0.92rem;
  color: #cbd5e1;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.5;
}

.timeline-figures li span.bullet {
  color: var(--gold-primary, #e5c158);
  font-weight: 700;
}

.timeline-highlight-blink {
  color: #fff5d6;
  text-shadow: 0 0 10px rgba(243, 229, 171, 0.85), 0 0 22px rgba(212, 175, 55, 0.45);
  animation: timelineSacredPulse 2.4s ease-in-out infinite;
}

@keyframes timelineSacredPulse {
  0%, 100% {
    color: #fff5d6;
    opacity: 1;
    text-shadow: 0 0 12px rgba(243, 229, 171, 0.95), 0 0 24px rgba(212, 175, 55, 0.65);
  }
  50% {
    color: #70e4ef;
    opacity: 0.92;
    text-shadow: 0 0 12px rgba(112, 228, 239, 0.95), 0 0 26px rgba(77, 238, 234, 0.65);
  }
}

/* Closing Box */
.masters-closing-card {
  max-width: 960px;
  margin: 4rem auto 0 auto;
  padding: 3rem 2.5rem;
  background: linear-gradient(135deg, rgba(16, 24, 48, 0.85) 0%, rgba(9, 13, 24, 0.95) 100%);
  border: 1px solid rgba(229, 193, 88, 0.35);
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  position: relative;
}

.masters-closing-title {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  color: var(--gold-light, #fff5d6);
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.masters-closing-text {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.9;
  max-width: 820px;
  margin: 0 auto 2rem auto;
  word-break: keep-all;
}

.masters-closing-quote {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--cyan-ethereal, #70e4ef);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: inline-block;
}

/* Ensure Order Modal Overrides */
#orderModalOverlay.active {
  display: flex !important;
}

/* ==========================================================================
   Mobile-First Bottom Navigation Bar & Touch Optimization
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 74px !important;
  }

  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(10, 14, 28, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(229, 193, 88, 0.3);
    z-index: 99999;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.7);
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.74rem;
    font-weight: 600;
    transition: all 0.2s ease;
    gap: 3px;
  }

  .mobile-nav-item .nav-icon {
    font-size: 1.25rem;
    line-height: 1;
    transition: transform 0.2s ease;
  }

  .mobile-nav-item.active,
  .mobile-nav-item:active {
    color: #E5C158;
  }

  .mobile-nav-item.active .nav-icon {
    transform: scale(1.18);
    filter: drop-shadow(0 0 10px rgba(229, 193, 88, 0.7));
  }
}

#orderModalOverlay.active .modal-content {
  transform: scale(1) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* User Auth Unified Badge & Menu */
.user-auth-btn {
  font-family: inherit;
  font-weight: 500;
  white-space: nowrap;
}
.user-auth-menu {
  width: 240px;
  right: 0;
}
.user-auth-menu .dropdown-item:hover {
  background: rgba(229, 193, 88, 0.08);
  border-left-color: var(--gold-primary, #e5c158);
}

/* === ALP-MOBILEFIX-20261017 BEGIN === */
/* --- Subpage mobile spacing: container 20 + card 32 + box 20 stacked to 72px/side on phones --- */
/* main is a flex item: without min-width:0 the long <option> text of the hexagram select stretched it to 477px on /en/2/ */
main.subpage-container { min-width: 0; }
@media (max-width: 768px) { main.subpage-container { width: 100%; box-sizing: border-box; } }
main.subpage-container select { max-width: 100%; text-overflow: ellipsis; }
@media (max-width: 480px) {
  main.subpage-container { padding: 0 10px; margin: 18px auto 48px; }
  main.subpage-container .subpage-card { padding: 20px 14px; border-radius: 16px; }
  main.subpage-container .box-content { padding: 14px 12px; }
  main.subpage-container .hex-header { gap: 12px; padding-bottom: 16px; margin-bottom: 20px; }
  main.subpage-container .hex-symbol-badge { font-size: 2.6rem; padding: 8px 16px; }
  main.subpage-container .trigram-grid { grid-template-columns: 1fr; }
  main.subpage-container .cta-banner { padding: 20px 14px; }
  main.subpage-container .nav-buttons .btn-secondary { flex: 1 1 100%; text-align: center; justify-content: center; min-height: 44px; box-sizing: border-box; }
  main.subpage-container .box-content span[style*="width: 30px"] { width: auto !important; min-width: 34px; white-space: nowrap; }
  main.subpage-container .section-title { font-size: 1.1rem; line-height: 1.4; }
  main.subpage-container .btn-primary { letter-spacing: 0.04em; max-width: 100%; box-sizing: border-box; text-align: center; white-space: normal !important; }
  main.subpage-container button.btn-primary { flex: 1 1 100% !important; }
}
/* Header buttons duplicate the bottom tab bar and overflow a 360px header; the tab bar covers Home/Study */
@media (max-width: 768px) {
  body:has(main.subpage-container) .navbar .btn-secondary,
  body:has(main.subpage-container) .navbar .btn-back-home { display: none; }
}

/* --- Study room switch (I Ching <-> Saju) --- */
.study-switch { display: flex; gap: 8px; margin: 0 0 16px; flex-wrap: wrap; }
.study-switch a { flex: 1 1 140px; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 14px; border: 1px solid rgba(229,193,88,.3); border-radius: 12px; color: #cbd5e1; text-decoration: none; font-weight: 600; font-size: .92rem; transition: border-color .2s, background .2s, color .2s; }
.study-switch a:hover, .study-switch a:focus-visible { border-color: #e5c158; color: #fff; }
.study-switch a:focus-visible { outline: 2px solid #70e4ef; outline-offset: 2px; }
.study-switch a[aria-current="page"] { background: rgba(229,193,88,.15); border-color: #e5c158; color: #fff5d6; }

/* --- Study index: search + list + 8x8 matrix --- */
.study-index [hidden] { display: none !important; }
.si-toolbar { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.si-search input { width: 100%; box-sizing: border-box; min-height: 44px; padding: 10px 14px; background: #0f172a; border: 1.5px solid rgba(229,193,88,.5); border-radius: 10px; color: #fff; font-size: 1rem; }
.si-search input::placeholder { color: #94a3b8; }
.si-search input:focus-visible { outline: 2px solid #70e4ef; outline-offset: 2px; }
.si-views { display: flex; gap: 8px; }
.si-views button { flex: 1; min-height: 44px; border-radius: 10px; border: 1px solid rgba(229,193,88,.35); background: transparent; color: #cbd5e1; font-size: .92rem; font-weight: 600; cursor: pointer; }
.si-views button[aria-pressed="true"] { background: rgba(229,193,88,.18); border-color: #e5c158; color: #fff5d6; }
.si-views button:focus-visible { outline: 2px solid #70e4ef; outline-offset: 2px; }
.si-count { font-size: .85rem; color: #94a3b8; margin: 0 0 12px; }
.si-empty { color: #cbd5e1; font-size: .95rem; padding: 18px 4px; }
.si-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.si-tile { display: flex; align-items: center; gap: 10px; padding: 10px 12px; min-height: 64px; background: rgba(30,41,59,.6); border: 1px solid rgba(229,193,88,.2); border-radius: 10px; text-decoration: none; transition: border-color .2s, background .2s, transform .2s; }
.si-tile:hover, .si-tile:focus-visible { border-color: #e5c158; background: rgba(229,193,88,.1); transform: translateY(-1px); }
.si-tile:focus-visible { outline: 2px solid #70e4ef; outline-offset: 2px; }
.si-glyph { font-size: 1.9rem; line-height: 1; color: #e5c158; flex: 0 0 auto; }
.si-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.3; }
.si-no { font-size: .75rem; color: #94a3b8; }
.si-name { font-size: .92rem; color: #e2e8f0; font-weight: 700; }
.si-hanja { font-size: .8rem; color: #cbd5e1; font-weight: 400; margin-left: 4px; }
.si-sub { font-size: .75rem; color: #94a3b8; }
.si-hint { font-size: .8rem; color: #94a3b8; margin: 0 0 8px; }
.si-matrix-wrap { width: 0; min-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid rgba(229,193,88,.2); border-radius: 10px; }
.si-matrix-wrap:focus-visible { outline: 2px solid #70e4ef; outline-offset: 2px; }
table.si-matrix { border-collapse: separate; border-spacing: 3px; width: max-content; min-width: 100%; }
.si-cap { caption-side: top; text-align: left; font-size: .8rem; color: #94a3b8; padding: 6px 6px 2px; }
.si-matrix th { font-size: .75rem; color: #cbd5e1; font-weight: 600; padding: 6px 4px; background: rgba(15,23,42,.95); text-align: center; white-space: nowrap; border-radius: 8px; }
.si-matrix th .tg { display: block; font-size: 1.15rem; color: #e5c158; line-height: 1.2; }
.si-matrix tbody th { position: sticky; left: 0; z-index: 1; min-width: 52px; }
.si-matrix td { padding: 0; }
.si-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 44px; min-height: 52px; border-radius: 8px; background: rgba(30,41,59,.6); border: 1px solid rgba(229,193,88,.15); color: #e2e8f0; text-decoration: none; transition: border-color .2s, background .2s, opacity .2s; }
.si-cell .g { font-size: 1.3rem; color: #e5c158; line-height: 1; }
.si-cell .n { font-size: .75rem; color: #94a3b8; }
.si-cell:hover, .si-cell:focus-visible { border-color: #e5c158; background: rgba(229,193,88,.12); }
.si-cell:focus-visible { outline: 2px solid #70e4ef; outline-offset: 2px; }
.si-cell.is-dim { opacity: .18; }

/* --- Line texts (爻辭) --- */
.yao-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.yao-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,.1); }
.yao-item:first-child { padding-top: 0; }
.yao-item:last-child { border-bottom: 0; padding-bottom: 0; }
.yao-pos { flex: 0 0 84px; font-size: .8rem; color: #94a3b8; line-height: 1.45; }
.yao-pos strong { display: block; color: #e5c158; font-size: .95rem; }
.yao-text { flex: 1; min-width: 0; color: #e5c158; font-size: 1.05rem; font-weight: 600; font-family: 'Noto Serif KR', 'Noto Serif CJK TC', serif; letter-spacing: .04em; line-height: 1.7; }
.yao-tr { display: block; margin-top: 6px; color: #cbd5e1; font-size: .92rem; font-weight: 400; font-family: 'Noto Sans KR', 'Inter', system-ui, sans-serif; letter-spacing: 0; line-height: 1.7; }
.yao-note { font-size: .82rem; color: #94a3b8; line-height: 1.6; margin: 14px 0 0; }
@media (max-width: 480px) { .yao-pos { flex-basis: 70px; } }

/* --- Collapsible study cards on /3/ & /en/3/ --- */
.subpage-card.saju-collapsible .subpage-header { cursor: pointer; user-select: none; }
.saju-tag-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.saju-tag-row .subpage-tag { margin-bottom: 0 !important; }
.saju-collapse-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px;
  border: 1px solid rgba(229, 193, 88, 0.45);
  background: rgba(229, 193, 88, 0.12);
  color: #fff5d6; font-size: 1.25rem; font-weight: 700; line-height: 1;
  cursor: pointer; flex: 0 0 auto; transition: background .2s, border-color .2s, color .2s;
}
.saju-collapse-btn:hover, .saju-collapse-btn:focus-visible {
  background: rgba(229, 193, 88, 0.28); border-color: #e5c158; color: #fff;
}
.saju-collapse-btn:focus-visible { outline: 2px solid #70e4ef; outline-offset: 2px; }
.subpage-card.saju-collapsible.is-collapsed .subpage-header {
  border-bottom: none !important; padding-bottom: 0 !important; margin-bottom: 0 !important;
}
.subpage-card.saju-collapsible.is-collapsed .subpage-header h2 { margin-bottom: 0 !important; font-size: 1.25rem !important; }
.subpage-card.saju-collapsible.is-collapsed .subpage-desc,
.subpage-card.saju-collapsible.is-collapsed > :not(.subpage-header) {
  display: none !important;
}
@media (max-width: 480px) {
  .subpage-card.saju-collapsible.is-collapsed { margin-top: 16px !important; padding: 16px 14px !important; }
  .subpage-card.saju-collapsible.is-collapsed .subpage-header h2 { font-size: 1.08rem !important; line-height: 1.4; }
}
/* === ALP-MOBILEFIX-20261017 END === */
