
/* === TAILWIND PREFLIGHT RESET & TYPOGRAPHY HARMONY (V7.0) === */
button, input, optgroup, select, textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
  background-color: transparent;
  background-image: none;
  border: 0 solid rgba(68, 64, 60, 0.6);
}
button, select { text-transform: none; }
button, [type='button'], [type='reset'], [type='submit'] {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
  cursor: pointer;
}
/* Prevent style.css global h1/h2/p rules from breaking Tailwind utility layouts */
body.dark h1 { font-size: clamp(1.75rem, 3.4vw, 2.65rem); line-height: 1.18; letter-spacing: -0.02em; margin: 0; }
body.dark h2 { font-size: clamp(1.35rem, 2.5vw, 2.05rem); line-height: 1.24; letter-spacing: -0.015em; margin: 0; }
body.dark h3 { font-size: clamp(1.02rem, 1.5vw, 1.22rem); line-height: 1.35; margin: 0; }
body.dark p { max-width: none; margin: 0; }
body.dark select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%23d6cbb9' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-position: right 0.65rem center;
  background-repeat: no-repeat;
  background-size: 1.25em 1.25em;
  padding-right: 2.25rem !important;
}

/* === MOBILE & DESKTOP HEADER HARMONY (ZERO OVERFLOW) === */
header.nav .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 12px 0;
  min-height: 76px;
}
header.nav .logo {
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 100%;
  white-space: normal !important;
}
header.nav .logo i {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border: 1px solid #d4ac68;
  color: #f5d799;
  background: rgba(153, 27, 27, 0.22);
  box-shadow: inset 0 0 10px rgba(220, 38, 38, 0.35);
  font-size: 22px;
}
header.nav .logo .logo-stack {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
header.nav .logo .logo-stack b {
  font-size: clamp(0.8rem, 1.6vw, 0.96rem);
  letter-spacing: 0.07em;
  color: #f7f1e3;
  line-height: 1.2;
}
header.nav .logo .logo-stack small {
  font-size: clamp(0.62rem, 1.1vw, 0.7rem);
  color: #d6aa73;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
}
header.nav .links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
header.nav .links a {
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}
header.nav .links a:hover {
  background: rgba(220, 38, 38, 0.18);
  color: #fbbf24;
}
header.nav .links a[aria-current="page"] {
  background: linear-gradient(135deg, rgba(153, 27, 27, 0.55), rgba(69, 10, 10, 0.75));
  color: #fde68a;
  border: 1px solid rgba(239, 68, 68, 0.65);
  box-shadow: 0 0 14px rgba(220, 38, 38, 0.35);
}
@media (max-width: 768px) {
  header.nav .wrap {
    width: calc(100% - 24px);
    gap: 10px;
    padding: 10px 0;
  }
  header.nav .logo .logo-stack small {
    display: none;
  }
  header.nav .links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  header.nav .links a {
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  header.nav .links a {
    font-size: 0.72rem;
    padding: 5px 9px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 172, 104, 0.2);
  }
}

/* ==========================================================================
   PJ-OFFLINE-TAILWIND.CSS — 100% Self-Contained Zero-CDN Utility Engine
   Works under file://, localhost, and global EdgeOne nodes without internet
   ========================================================================== */
*, ::before, ::after { box-sizing: border-box; border-color: rgba(68,64,60,0.6); }
.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem; }
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.375rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-2\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.625rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }
.divide-y > :not([hidden]) ~ :not([hidden]) { border-top-width: 1px; border-top-style: solid; border-color: rgba(41,37,36,0.8); }
.absolute { position:absolute; }
.backdrop-blur-md { backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px); }
.bg-\[\#08080a\] { background-color:#08080a; }
.bg-amber-500 { background-color:rgb(245,158,11); }
.bg-amber-500\/20 { background-color:rgba(245,158,11,0.2); }
.bg-amber-900\/60 { background-color:rgba(120,53,15,0.6); }
.bg-amber-950 { background-color:rgb(69,26,3); }
.bg-amber-950\/35 { background-color:rgba(69,26,3,0.35); }
.bg-amber-950\/70 { background-color:rgba(69,26,3,0.7); }
.bg-amber-950\/80 { background-color:rgba(69,26,3,0.8); }
.bg-black { background-color:rgb(0,0,0); }
.bg-black\/50 { background-color:rgba(0,0,0,0.5); }
.bg-black\/60 { background-color:rgba(0,0,0,0.6); }
.bg-black\/65 { background-color:rgba(0,0,0,0.65); }
.bg-black\/70 { background-color:rgba(0,0,0,0.7); }
.bg-black\/75 { background-color:rgba(0,0,0,0.75); }
.bg-black\/80 { background-color:rgba(0,0,0,0.8); }
.bg-black\/85 { background-color:rgba(0,0,0,0.85); }
.bg-black\/90 { background-color:rgba(0,0,0,0.9); }
.bg-emerald-500 { background-color:rgb(16,185,129); }
.bg-emerald-950 { background-color:rgb(2,44,34); }
.bg-gradient-to-b { background-image:linear-gradient(to bottom,var(--tw-grad-from,#1c1917),var(--tw-grad-to,#000)); }
.bg-gradient-to-br { background-image:linear-gradient(to bottom right,var(--tw-grad-from,rgba(69,10,10,0.7)),var(--tw-grad-via,#0c0a09),var(--tw-grad-to,rgba(69,26,3,0.4))); }
.bg-gradient-to-r { background-image:linear-gradient(to right,var(--tw-grad-from,#dc2626),var(--tw-grad-to,rgba(0,0,0,0))); }
.bg-gradient-to-t { background-image:linear-gradient(to top,var(--tw-grad-from,#000),var(--tw-grad-to,transparent)); }
.bg-red-500 { background-color:rgb(239,68,68); }
.bg-red-700 { background-color:rgb(185,28,28); }
.bg-red-800 { background-color:rgb(153,27,27); }
.bg-red-900 { background-color:rgb(127,29,29); }
.bg-red-950 { background-color:rgb(69,10,10); }
.bg-red-950\/30 { background-color:rgba(69,10,10,0.3); }
.bg-red-950\/50 { background-color:rgba(69,10,10,0.5); }
.bg-red-950\/70 { background-color:rgba(69,10,10,0.7); }
.bg-red-950\/80 { background-color:rgba(69,10,10,0.8); }
.bg-red-950\/90 { background-color:rgba(69,10,10,0.9); }
.bg-sky-500 { background-color:rgb(14,165,233); }
.bg-stone-900 { background-color:rgb(28,25,23); }
.bg-stone-900\/90 { background-color:rgba(28,25,23,0.9); }
.bg-stone-900\/95 { background-color:rgba(28,25,23,0.95); }
.bg-stone-950 { background-color:rgb(12,10,9); }
.bg-stone-950\/60 { background-color:rgba(12,10,9,0.6); }
.bg-stone-950\/90 { background-color:rgba(12,10,9,0.9); }
.block { display:block; }
.border { border-width:1px;border-style:solid; }
.border-2 { border-width:2px;border-style:solid; }
.border-amber-400\/50 { border-color:rgba(251,191,36,0.5); }
.border-amber-500 { border-color:rgb(245,158,11); }
.border-amber-500\/50 { border-color:rgba(245,158,11,0.5); }
.border-amber-500\/80 { border-color:rgba(245,158,11,0.8); }
.border-amber-600\/40 { border-color:rgba(217,119,6,0.4); }
.border-amber-600\/50 { border-color:rgba(217,119,6,0.5); }
.border-amber-600\/60 { border-color:rgba(217,119,6,0.6); }
.border-amber-700 { border-color:rgb(180,83,9); }
.border-amber-700\/30 { border-color:rgba(180,83,9,0.3); }
.border-amber-700\/40 { border-color:rgba(180,83,9,0.4); }
.border-amber-700\/50 { border-color:rgba(180,83,9,0.5); }
.border-amber-700\/60 { border-color:rgba(180,83,9,0.6); }
.border-amber-800\/40 { border-color:rgba(146,64,14,0.4); }
.border-amber-800\/50 { border-color:rgba(146,64,14,0.5); }
.border-amber-900\/25 { border-color:rgba(120,53,15,0.25); }
.border-amber-900\/50 { border-color:rgba(120,53,15,0.5); }
.border-b { border-bottom-width:1px;border-bottom-style:solid; }
.border-collapse { border-collapse:collapse; }
.border-emerald-500 { border-color:rgb(16,185,129); }
.border-emerald-600\/60 { border-color:rgba(5,150,105,0.6); }
.border-l { border-left-width:1px;border-left-style:solid; }
.border-l-2 { border-left-width:2px;border-left-style:solid; }
.border-red-500 { border-color:rgb(239,68,68); }
.border-red-600 { border-color:rgb(220,38,38); }
.border-red-600\/60 { border-color:rgba(220,38,38,0.6); }
.border-red-700 { border-color:rgb(185,28,28); }
.border-red-700\/50 { border-color:rgba(185,28,28,0.5); }
.border-red-700\/60 { border-color:rgba(185,28,28,0.6); }
.border-red-800 { border-color:rgb(153,27,27); }
.border-red-800\/60 { border-color:rgba(153,27,27,0.6); }
.border-red-800\/70 { border-color:rgba(153,27,27,0.7); }
.border-red-900\/50 { border-color:rgba(127,29,29,0.5); }
.border-red-900\/60 { border-color:rgba(127,29,29,0.6); }
.border-sky-600\/60 { border-color:rgba(2,132,199,0.6); }
.border-sky-800\/50 { border-color:rgba(7,89,133,0.5); }
.border-stone-600 { border-color:rgb(87,83,78); }
.border-stone-700 { border-color:rgb(68,64,60); }
.border-stone-800 { border-color:rgb(41,37,36); }
.border-stone-800\/80 { border-color:rgba(41,37,36,0.8); }
.border-stone-800\/90 { border-color:rgba(41,37,36,0.9); }
.border-t { border-top-width:1px;border-top-style:solid; }
.border-t-2 { border-top-width:2px;border-top-style:solid; }
.bottom-2\.5 { bottom:0.625rem; }
.bottom-5 { bottom:1.25rem; }
.col-span-2 { grid-column:span 2 / span 2; }
.col-span-full { grid-column:1 / -1; }
.cursor-pointer { cursor:pointer; }
.cursor-zoom-out { cursor:zoom-out; }
.duration-300 { transition-duration:300ms; }
.duration-500 { transition-duration:500ms; }
.fixed { position:fixed; }
.flex { display:flex; }
.flex-1 { flex:1 1 0%; }
.flex-col { flex-direction:column; }
.flex-wrap { flex-wrap:wrap; }
.focus\:border-red-500:focus { border-color:rgb(239,68,68); }
.focus\:outline-none:focus { outline:2px solid transparent;outline-offset:2px; }
.font-bold { font-weight:700; }
.font-display { font-family:Cinzel,Georgia,'Noto Serif SC',serif; }
.font-extrabold { font-weight:800; }
.font-medium { font-weight:500; }
.font-mono { font-family:ui-monospace,SFMono-Regular,Menlo,monospace; }
.font-normal { font-weight:400; }
.font-sans { font-family:Inter,system-ui,-apple-system,sans-serif; }
.font-semibold { font-weight:600; }
.font-serifsc { font-family:'Noto Serif SC',Georgia,serif; }
.from-amber-700 { --tw-grad-from:rgb(180,83,9); }
.from-amber-950\/70 { --tw-grad-from:rgba(69,26,3,0.7); }
.from-black\/85 { --tw-grad-from:rgba(0,0,0,0.85); }
.from-emerald-800 { --tw-grad-from:rgb(6,95,70); }
.from-emerald-950\/70 { --tw-grad-from:rgba(2,44,34,0.7); }
.from-red-700 { --tw-grad-from:rgb(185,28,28); }
.from-red-800 { --tw-grad-from:rgb(153,27,27); }
.from-red-950\/70 { --tw-grad-from:rgba(69,10,10,0.7); }
.from-red-950\/80 { --tw-grad-from:rgba(69,10,10,0.8); }
.from-rose-900 { --tw-grad-from:rgb(136,19,55); }
.from-sky-800 { --tw-grad-from:rgb(7,89,133); }
.from-sky-950\/70 { --tw-grad-from:rgba(8,47,73,0.7); }
.from-stone-900 { --tw-grad-from:rgb(28,25,23); }
.gap-1 { gap:0.25rem; }
.gap-1\.5 { gap:0.375rem; }
.gap-2 { gap:0.5rem; }
.gap-2\.5 { gap:0.625rem; }
.gap-3 { gap:0.75rem; }
.gap-4 { gap:1rem; }
.gap-5 { gap:1.25rem; }
.gap-6 { gap:1.5rem; }
.gap-8 { gap:2rem; }
.grid { display:grid; }
.grid-cols-1 { grid-template-columns:repeat(1,minmax(0,1fr)); }
.grid-cols-2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.grid-cols-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.group:hover .group-hover\:scale-105 { transform:scale(1.05); }
.group:hover .group-hover\:text-white { color:rgb(255,255,255); }
.h-1\.5 { height:0.375rem; }
.h-2 { height:0.5rem; }
.h-20 { height:5rem; }
.h-28 { height:7rem; }
.h-40 { height:10rem; }
.h-44 { height:11rem; }
.h-48 { height:12rem; }
.h-auto { height:auto; }
.h-full { height:100%; }
.hidden { display:none !important; }
.hover\:bg-amber-800:hover { background-color:rgb(146,64,14); }
.hover\:bg-amber-900:hover { background-color:rgb(120,53,15); }
.hover\:bg-amber-950:hover { background-color:rgb(69,26,3); }
.hover\:bg-emerald-950:hover { background-color:rgb(2,44,34); }
.hover\:bg-red-700:hover { background-color:rgb(185,28,28); }
.hover\:bg-red-800:hover { background-color:rgb(153,27,27); }
.hover\:bg-red-900:hover { background-color:rgb(127,29,29); }
.hover\:bg-red-950:hover { background-color:rgb(69,10,10); }
.hover\:bg-red-950\/50:hover { background-color:rgba(69,10,10,0.5); }
.hover\:bg-stone-800:hover { background-color:rgb(41,37,36); }
.hover\:border-amber-400:hover { border-color:rgb(251,191,36); }
.hover\:border-amber-500:hover { border-color:rgb(245,158,11); }
.hover\:border-amber-500\/70:hover { border-color:rgba(245,158,11,0.7); }
.hover\:border-amber-600:hover { border-color:rgb(217,119,6); }
.hover\:border-amber-600\/60:hover { border-color:rgba(217,119,6,0.6); }
.hover\:border-emerald-400:hover { border-color:rgb(52,211,153); }
.hover\:border-red-400:hover { border-color:rgb(248,113,113); }
.hover\:border-red-500:hover { border-color:rgb(239,68,68); }
.hover\:border-red-600\/60:hover { border-color:rgba(220,38,38,0.6); }
.hover\:border-red-700\/60:hover { border-color:rgba(185,28,28,0.6); }
.hover\:border-sky-400:hover { border-color:rgb(56,189,248); }
.hover\:border-white:hover { border-color:rgb(255,255,255); }
.hover\:from-red-900\/80:hover { --tw-grad-from:rgba(127,29,29,0.8); }
.hover\:text-amber-200:hover { color:rgb(253,230,138); }
.hover\:text-red-300:hover { color:rgb(252,165,165); }
.hover\:text-white:hover { color:rgb(255,255,255); }
.hover\:underline:hover { text-decoration:underline; }
.inline-block { display:inline-block; }
.inline-flex { display:inline-flex; }
.inset-0 { top:0;right:0;bottom:0;left:0; }
.italic { font-style:italic; }
.items-baseline { align-items:baseline; }
.items-center { align-items:center; }
.items-end { align-items:flex-end; }
.items-start { align-items:flex-start; }
.items-stretch { align-items:stretch; }
.justify-between { justify-content:space-between; }
.justify-center { justify-content:center; }
.leading-relaxed { line-height:1.625; }
.left-2\.5 { left:0.625rem; }
.left-3 { left:0.75rem; }
.max-h-36 { max-height:9rem; }
.max-h-48 { max-height:12rem; }
.max-h-64 { max-height:16rem; }
.max-h-72 { max-height:18rem; }
.max-h-\[75vh\] { max-height:75vh; }
.max-w-3xl { max-width:48rem; }
.max-w-4xl { max-width:56rem; }
.max-w-7xl { max-width:80rem; }
.max-w-\[300px\] { max-width:300px; }
.max-w-full { max-width:100%; }
.max-w-md { max-width:28rem; }
.mb-0\.5 { margin-bottom:0.125rem; }
.mb-1 { margin-bottom:0.25rem; }
.mb-1\.5 { margin-bottom:0.375rem; }
.mb-10 { margin-bottom:2.5rem; }
.mb-6 { margin-bottom:1.5rem; }
.mb-8 { margin-bottom:2rem; }
.min-h-\[240px\] { min-height:240px; }
.min-h-\[250px\] { min-height:250px; }
.ml-1 { margin-left:0.25rem; }
.ml-1\.5 { margin-left:0.375rem; }
.ml-2 { margin-left:0.5rem; }
.mr-2 { margin-right:0.5rem; }
.mt-0\.5 { margin-top:0.125rem; }
.mt-1 { margin-top:0.25rem; }
.mt-10 { margin-top:2.5rem; }
.mt-14 { margin-top:3.5rem; }
.mt-16 { margin-top:4rem; }
.mt-2 { margin-top:0.5rem; }
.mt-20 { margin-top:5rem; }
.mt-4 { margin-top:1rem; }
.mt-8 { margin-top:2rem; }
.mx-auto { margin-left:auto;margin-right:auto; }
.object-center { object-position:center; }
.object-contain { object-fit:contain; }
.object-cover { object-fit:cover; }
.object-top { object-position:top; }
.opacity-90 { opacity:0.9; }
.overflow-hidden { overflow:hidden; }
.overflow-x-auto { overflow-x:auto; }
.overflow-y-auto { overflow-y:auto; }
.p-2 { padding:0.5rem; }
.p-2\.5 { padding:0.625rem; }
.p-3 { padding:0.75rem; }
.p-3\.5 { padding:0.875rem; }
.p-4 { padding:1rem; }
.p-5 { padding:1.25rem; }
.p-6 { padding:1.5rem; }
.p-8 { padding:2rem; }
.pb-1 { padding-bottom:0.25rem; }
.pb-2 { padding-bottom:0.5rem; }
.pb-3 { padding-bottom:0.75rem; }
.pb-4 { padding-bottom:1rem; }
.pl-2 { padding-left:0.5rem; }
.pl-3 { padding-left:0.75rem; }
.pr-1 { padding-right:0.25rem; }
.pt-1 { padding-top:0.25rem; }
.pt-10 { padding-top:2.5rem; }
.pt-2 { padding-top:0.5rem; }
.pt-3 { padding-top:0.75rem; }
.pt-4 { padding-top:1rem; }
.px-1 { padding-left:0.25rem;padding-right:0.25rem; }
.px-1\.5 { padding-left:0.375rem;padding-right:0.375rem; }
.px-2 { padding-left:0.5rem;padding-right:0.5rem; }
.px-2\.5 { padding-left:0.625rem;padding-right:0.625rem; }
.px-3 { padding-left:0.75rem;padding-right:0.75rem; }
.px-3\.5 { padding-left:0.875rem;padding-right:0.875rem; }
.px-4 { padding-left:1rem;padding-right:1rem; }
.px-5 { padding-left:1.25rem;padding-right:1.25rem; }
.px-7 { padding-left:1.75rem;padding-right:1.75rem; }
.py-0\.5 { padding-top:0.125rem;padding-bottom:0.125rem; }
.py-1 { padding-top:0.25rem;padding-bottom:0.25rem; }
.py-1\.5 { padding-top:0.375rem;padding-bottom:0.375rem; }
.py-10 { padding-top:2.5rem;padding-bottom:2.5rem; }
.py-2 { padding-top:0.5rem;padding-bottom:0.5rem; }
.py-2\.5 { padding-top:0.625rem;padding-bottom:0.625rem; }
.py-3 { padding-top:0.75rem;padding-bottom:0.75rem; }
.py-3\.5 { padding-top:0.875rem;padding-bottom:0.875rem; }
.relative { position:relative; }
.right-2\.5 { right:0.625rem; }
.right-3 { right:0.75rem; }
.right-5 { right:1.25rem; }
.rounded { border-radius:0.25rem; }
.rounded-2xl { border-radius:1rem; }
.rounded-full { border-radius:9999px; }
.rounded-lg { border-radius:0.5rem; }
.rounded-xl { border-radius:0.75rem; }
.scroll-mt-20 { scroll-margin-top:5rem; }
.select-none { user-select:none; }
.shadow-2xl { box-shadow:0 25px 50px -12px rgba(0,0,0,0.75); }
.shadow-lg { box-shadow:0 10px 15px -3px rgba(0,0,0,0.5); }
.shadow-xl { box-shadow:0 20px 25px -5px rgba(0,0,0,0.6); }
.shrink-0 { flex-shrink:0; }
.text-2xl { font-size:1.5rem;line-height:2rem; }
.text-3xl { font-size:1.875rem;line-height:2.25rem; }
.text-\[\#1f1916\] { color:#1f1916; }
.text-\[\#e5dec9\] { color:#e5dec9; }
.text-\[\#f3ebd7\] { color:#f3ebd7; }
.text-\[10px\] { font-size:10px;line-height:1.4; }
.text-\[11px\] { font-size:11px;line-height:1.4; }
.text-amber-100 { color:rgb(254,243,199); }
.text-amber-200 { color:rgb(253,230,138); }
.text-amber-200\/90 { color:rgba(253,230,138,0.9); }
.text-amber-200\/95 { color:rgba(253,230,138,0.95); }
.text-amber-300 { color:rgb(252,211,77); }
.text-amber-300\/90 { color:rgba(252,211,77,0.9); }
.text-amber-400 { color:rgb(251,191,36); }
.text-amber-400\/90 { color:rgba(251,191,36,0.9); }
.text-amber-950 { color:rgb(69,26,3); }
.text-base { font-size:1rem;line-height:1.5rem; }
.text-center { text-align:center; }
.text-emerald-200 { color:rgb(167,243,208); }
.text-emerald-300 { color:rgb(110,231,183); }
.text-emerald-400 { color:rgb(52,211,153); }
.text-left { text-align:left; }
.text-lg { font-size:1.125rem;line-height:1.75rem; }
.text-purple-300 { color:rgb(216,180,254); }
.text-red-200 { color:rgb(254,202,202); }
.text-red-300 { color:rgb(252,165,165); }
.text-red-400 { color:rgb(248,113,113); }
.text-red-500 { color:rgb(239,68,68); }
.text-red-900 { color:rgb(127,29,29); }
.text-right { text-align:right; }
.text-rose-500 { color:rgb(244,63,94); }
.text-sky-200 { color:rgb(186,230,253); }
.text-sky-300 { color:rgb(125,211,252); }
.text-sky-400 { color:rgb(56,189,248); }
.text-sky-400\/90 { color:rgba(56,189,248,0.9); }
.text-sm { font-size:0.875rem;line-height:1.25rem; }
.text-stone-100 { color:rgb(245,245,244); }
.text-stone-200 { color:rgb(231,229,228); }
.text-stone-300 { color:rgb(214,211,209); }
.text-stone-400 { color:rgb(168,162,158); }
.text-stone-500 { color:rgb(120,113,108); }
.text-white { color:rgb(255,255,255); }
.text-xl { font-size:1.25rem;line-height:1.75rem; }
.text-xs { font-size:0.75rem;line-height:1rem; }
.to-amber-400 { --tw-grad-to:rgb(251,191,36); }
.to-amber-950\/40 { --tw-grad-to:rgba(69,26,3,0.4); }
.to-black { --tw-grad-to:rgb(0,0,0); }
.to-black\/25 { --tw-grad-to:rgba(0,0,0,0.25); }
.to-emerald-400 { --tw-grad-to:rgb(52,211,153); }
.to-red-500 { --tw-grad-to:rgb(239,68,68); }
.to-rose-500 { --tw-grad-to:rgb(244,63,94); }
.to-sky-400 { --tw-grad-to:rgb(56,189,248); }
.to-stone-950 { --tw-grad-to:rgb(12,10,9); }
.top-2\.5 { top:0.625rem; }
.tracking-tight { letter-spacing:-0.025em; }
.tracking-wider { letter-spacing:0.05em; }
.tracking-widest { letter-spacing:0.1em; }
.transition { transition:all 0.2s cubic-bezier(0.4,0,0.2,1); }
.transition-all { transition:all 0.3s cubic-bezier(0.4,0,0.2,1); }
.truncate { overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.underline { text-decoration:underline; }
.uppercase { text-transform:uppercase; }
.via-amber-500 { --tw-grad-via:rgb(245,158,11); }
.via-amber-950\/50 { --tw-grad-via:rgba(69,26,3,0.5); }
.via-stone-950 { --tw-grad-via:rgb(12,10,9); }
.via-transparent { --tw-grad-via:transparent; }
.w-auto { width:auto; }
.w-full { width:100%; }
.z-50 { z-index:50; }
@media (min-width: 640px) {
  .sm\:col-span-1 { grid-column:span 1 / span 1; }
  .sm\:flex-row { flex-direction:row; }
  .sm\:grid-cols-2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .sm\:grid-cols-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .sm\:grid-cols-4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .sm\:grid-cols-5 { grid-template-columns:repeat(5,minmax(0,1fr)); }
  .sm\:grid-cols-6 { grid-template-columns:repeat(6,minmax(0,1fr)); }
  .sm\:h-56 { height:14rem; }
  .sm\:items-center { align-items:center; }
  .sm\:p-5 { padding:1.25rem; }
  .sm\:p-6 { padding:1.5rem; }
  .sm\:p-8 { padding:2rem; }
  .sm\:px-6 { padding-left:1.5rem;padding-right:1.5rem; }
  .sm\:text-2xl { font-size:1.5rem;line-height:2rem; }
  .sm\:text-3xl { font-size:1.875rem;line-height:2.25rem; }
  .sm\:text-4xl { font-size:2.25rem;line-height:2.5rem; }
  .sm\:text-base { font-size:1rem;line-height:1.5rem; }
  .sm\:text-lg { font-size:1.125rem;line-height:1.75rem; }
  .sm\:text-sm { font-size:0.875rem;line-height:1.25rem; }
  .sm\:text-xl { font-size:1.25rem;line-height:1.75rem; }
  .sm\:w-48 { width:12rem; }
  .sm\:w-64 { width:16rem; }
}
@media (min-width: 768px) {
  .md\:col-span-6 { grid-column:span 6 / span 6; }
  .md\:flex-row { flex-direction:row; }
  .md\:grid-cols-12 { grid-template-columns:repeat(12,minmax(0,1fr)); }
  .md\:grid-cols-2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .md\:grid-cols-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .md\:grid-cols-4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .md\:items-end { align-items:flex-end; }
}
@media (min-width: 1024px) {
  .lg\:col-span-4 { grid-column:span 4 / span 4; }
  .lg\:col-span-5 { grid-column:span 5 / span 5; }
  .lg\:col-span-6 { grid-column:span 6 / span 6; }
  .lg\:col-span-7 { grid-column:span 7 / span 7; }
  .lg\:col-span-8 { grid-column:span 8 / span 8; }
  .lg\:flex-row { flex-direction:row; }
  .lg\:grid-cols-12 { grid-template-columns:repeat(12,minmax(0,1fr)); }
  .lg\:grid-cols-2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .lg\:grid-cols-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .lg\:grid-cols-4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .lg\:items-center { align-items:center; }
  .lg\:px-8 { padding-left:2rem;padding-right:2rem; }
}
@media (min-width: 1280px) {
  .xl\:col-span-6 { grid-column:span 6 / span 6; }
  .xl\:grid-cols-12 { grid-template-columns:repeat(12,minmax(0,1fr)); }
}


    body {
      background-color: #08080a;
      color: #e5dec9;
      background-image:
        radial-gradient(circle at 18% 12%, rgba(185, 28, 28, 0.14) 0%, transparent 42%),
        radial-gradient(circle at 82% 78%, rgba(153, 27, 27, 0.11) 0%, transparent 48%),
        repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0px, rgba(255,255,255,0.012) 1px, transparent 1px, transparent 3px);
      overflow-x: hidden;
    }
    .ink-card {
      background: linear-gradient(145deg, rgba(22, 20, 24, 0.94), rgba(12, 11, 14, 0.97));
      border: 1px solid rgba(214, 203, 185, 0.14);
      box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.78), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }
    .ink-card-crimson {
      background: linear-gradient(145deg, rgba(32, 14, 18, 0.92), rgba(14, 11, 14, 0.97));
      border: 1px solid rgba(220, 38, 38, 0.38);
      box-shadow: 0 14px 36px -8px rgba(185, 28, 28, 0.25);
    }
    .seal-stamp {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 2px solid #dc2626;
      color: #ef4444;
      background: rgba(153, 27, 27, 0.18);
      font-family: 'Noto Serif SC', serif;
      font-weight: 900;
      letter-spacing: 0.08em;
      box-shadow: inset 0 0 8px rgba(220, 38, 38, 0.35);
      transform: rotate(-3deg);
    }
    .blade-slash-btn {
      position: relative;
      overflow: hidden;
      background: linear-gradient(135deg, #991b1b 0%, #dc2626 55%, #7f1d1d 100%);
      transition: all 0.25s ease;
    }
    .blade-slash-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 0 24px rgba(220, 38, 38, 0.55);
    }
    .scroll-parchment-border {
      border-top: 2px solid rgba(217, 119, 6, 0.45);
      border-bottom: 2px solid rgba(217, 119, 6, 0.45);
    }
    .cn-helper {
      display: none;
    }
    body.show-cn .cn-helper {
      display: block;
    }
    body.show-cn span.cn-helper-inline {
      display: inline;
    }
    span.cn-helper-inline {
      display: none;
    }
    /* Custom scrollbar */
    ::-webkit-scrollbar { width: 8px; height: 8px; }
    ::-webkit-scrollbar-track { background: #09090b; }
    ::-webkit-scrollbar-thumb { background: #3f3a36; border-radius: 4px; }
    ::-webkit-scrollbar-thumb:hover { background: #dc2626; }

    /* V3.0 UPGRADE: Dark Kungfupunk (70% PBZ) + Scroll of Taiwu Xuan Paper & Cinnabar Seal (30%) */
    .xuan-tome-spread {
      background: linear-gradient(135deg, #161412 0%, #1d1915 48%, #0f0d0c 50%, #1b1714 52%, #141210 100%);
      border: 2px solid rgba(217, 119, 6, 0.48);
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.92), inset 0 0 80px rgba(220, 38, 38, 0.08);
      position: relative;
    }
    .xuan-page-left {
      background:
        radial-gradient(circle at 20% 20%, rgba(229, 222, 201, 0.06) 0%, transparent 60%),
        linear-gradient(180deg, rgba(28, 24, 21, 0.96) 0%, rgba(19, 16, 15, 0.98) 100%);
      border-right: 1px solid rgba(217, 119, 6, 0.28);
    }
    .xuan-page-right {
      background:
        radial-gradient(circle at 80% 80%, rgba(220, 38, 38, 0.07) 0%, transparent 60%),
        linear-gradient(180deg, rgba(24, 21, 19, 0.96) 0%, rgba(16, 14, 13, 0.98) 100%);
    }
    .xuan-paper-vellum {
      background: linear-gradient(145deg, #e5dec9 0%, #d5cab0 55%, #c7b99b 100%);
      color: #1c1613;
      border: 1px solid #8c7355;
      box-shadow: inset 0 0 24px rgba(120, 53, 15, 0.18), 0 8px 24px rgba(0, 0, 0, 0.65);
    }
    .taiwu-cinnabar-seal {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 2px solid #b91c1c;
      background: rgba(185, 28, 28, 0.88);
      color: #fef2f2;
      font-family: 'Cinzel', 'Noto Serif SC', serif;
      font-weight: 800;
      letter-spacing: 0.08em;
      padding: 2px 8px;
      box-shadow: 0 2px 8px rgba(185, 28, 28, 0.5), inset 0 0 4px rgba(255, 255, 255, 0.25);
      transform: rotate(-2deg);
    }
    .flying-white-divider {
      height: 2px;
      background: linear-gradient(90deg, transparent 0%, rgba(220, 38, 38, 0.75) 25%, rgba(229, 222, 201, 0.6) 50%, rgba(217, 119, 6, 0.75) 75%, transparent 100%);
    }
    @keyframes pageTurnPulse {
      0% { opacity: 0.35; transform: translateY(4px) scale(0.992); }
      100% { opacity: 1; transform: translateY(0) scale(1); }
    }
    .page-turn-anim {
      animation: pageTurnPulse 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }
    .acupoint-node {
      cursor: pointer;
      transition: all 0.25s ease;
    }
    .acupoint-node:hover {
      filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.95));
    }

    /* V4.0 REBIRTH EDITION: Obsidian & Molten Gold 5-Deck Workspace App Shell */
    .workspace-dock-bar {
      background: linear-gradient(90deg, rgba(10, 9, 12, 0.96) 0%, rgba(28, 17, 16, 0.96) 50%, rgba(10, 9, 12, 0.96) 100%);
      border-bottom: 1px solid rgba(217, 119, 6, 0.42);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
    }
    .deck-tab-btn {
      position: relative;
      transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .deck-tab-btn.active-deck {
      background: linear-gradient(135deg, rgba(185, 28, 28, 0.88) 0%, rgba(120, 53, 15, 0.85) 100%);
      color: #fef3c7;
      border-color: #f59e0b;
      box-shadow: 0 0 18px rgba(220, 38, 38, 0.45), inset 0 0 10px rgba(251, 191, 36, 0.25);
    }
    .mbti-axis-bar {
      height: 8px;
      border-radius: 999px;
      background: rgba(28, 25, 23, 0.95);
      border: 1px solid rgba(120, 113, 108, 0.4);
      overflow: hidden;
    }
    .soul-quiz-card {
      background:
        radial-gradient(circle at 85% 15%, rgba(217, 119, 6, 0.14) 0%, transparent 55%),
        radial-gradient(circle at 15% 85%, rgba(220, 38, 38, 0.14) 0%, transparent 55%),
        linear-gradient(180deg, rgba(20, 17, 16, 0.97) 0%, rgba(11, 10, 12, 0.99) 100%);
      border: 1px solid rgba(217, 119, 6, 0.45);
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
    }
    .guqin-string-btn {
      position: relative;
      overflow: hidden;
      transition: all 0.2s ease;
    }
    .guqin-string-btn:active {
      transform: scale(0.98);
    }
  