:root{--bg: #0C1014;--surface: #12171D;--surface-hover: #171D24;--border: #232B33;--text: #E7EDF2;--text-muted: #8A97A3;--accent: #5BA8D4;--accent-hover: #78BBE0;--gold: #D4AF5B;--gold-hover: #E3C480;--gradient-brand: linear-gradient(135deg, var(--accent), var(--gold));--font-display: "Cormorant Garamond", Georgia, serif;--font-body: "Literata", Georgia, serif;--radius: 4px}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body,#root{height:100%}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font-body);line-height:1.65;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}h1,h2,h3{font-family:var(--font-display);font-weight:600;margin:0}p{margin:0 0 1em}button,input,textarea,select{font-family:inherit;color:inherit}.gradient-text{background:var(--gradient-brand);-webkit-background-clip:text;background-clip:text;color:transparent}.diamond{display:inline-block;width:6px;height:6px;background:var(--accent);transform:rotate(45deg);flex-shrink:0}.diamond--gold{background:var(--gold)}.diamond--muted{background:var(--text-muted)}.container{max-width:1000px;margin:0 auto;padding:0 24px}.btn{display:inline-flex;align-items:center;gap:8px;padding:10px 20px;border:1px solid var(--accent);background:transparent;color:var(--accent);border-radius:var(--radius);font-size:.95rem;cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease,transform .15s ease,box-shadow .15s ease}.btn:hover{background:var(--accent);color:#06090c;transform:translateY(-1px)}.btn--filled{background:var(--accent);color:#06090c}.btn--filled:hover{background:var(--accent-hover);border-color:var(--accent-hover);box-shadow:0 4px 16px #5ba8d459}.btn--gold{background:var(--gold);color:#1a1408;border-color:var(--gold)}.btn--gold:hover{background:var(--gold-hover);border-color:var(--gold-hover);color:#1a1408;box-shadow:0 4px 16px #d4af5b59}.btn--outline-gold{border-color:var(--gold);color:var(--gold)}.btn--outline-gold:hover{background:var(--gold);color:#1a1408}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease}.card:hover{border-color:var(--accent);transform:translateY(-2px);box-shadow:0 8px 24px #00000059}input[type=email],input[type=password],input[type=text]{width:100%;padding:10px 12px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);font-size:.95rem}input:focus{outline:2px solid var(--accent);outline-offset:1px}@media (prefers-reduced-motion: reduce){*{transition:none!important}}.chapter-content p{margin:0 0 .9em}.chapter-content img{max-width:100%;height:auto;display:block;margin:1.5em auto;border-radius:var(--radius)}[data-theme=light]{--bg: #FAFAF7;--surface: #FFFFFF;--surface-hover: #F5F5F0;--border: #E5E5DD;--text: #1A1A1A;--text-muted: #6B6B63;--gold: #A17C1F;--gold-hover: #8A6A15}[data-theme=light] .btn--gold,[data-theme=light] .btn--outline-gold:hover{color:#fff}[data-theme=light] .card:hover{box-shadow:0 8px 24px #00000014}[data-font-size=small] .chapter-content{font-size:.95rem}[data-font-size=medium] .chapter-content{font-size:1.05rem}[data-font-size=large] .chapter-content{font-size:1.25rem}[data-font-family=default] .chapter-content{font-family:var(--font-body)}[data-font-family=serif] .chapter-content{font-family:Georgia,Times New Roman,serif}[data-font-family=sans] .chapter-content{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}[data-content-width=wide] .chapter-content{max-width:none}.spin{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}[data-accent=blue]{--accent: #5BA8D4;--accent-hover: #78BBE0}[data-accent=gold]{--accent: #D4AF5B;--accent-hover: #E3C480}[data-accent=green]{--accent: #5BBF8A;--accent-hover: #78D4A4}[data-accent=purple]{--accent: #A67BD4;--accent-hover: #BC94E0}[data-accent=red]{--accent: #D46B7B;--accent-hover: #E08594}[data-theme=light][data-accent=blue]{--accent: #2B7BB8;--accent-hover: #1F6499}[data-theme=light][data-accent=gold]{--accent: #A17C1F;--accent-hover: #8A6A15}[data-theme=light][data-accent=green]{--accent: #2B9B6B;--accent-hover: #1F7B54}[data-theme=light][data-accent=purple]{--accent: #7B4FA8;--accent-hover: #653F8A}[data-theme=light][data-accent=red]{--accent: #B84B5B;--accent-hover: #9A3B4A}html{scroll-behavior:smooth}@keyframes fadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeInFast{0%{opacity:0}to{opacity:1}}.card{transition:border-color .25s ease,transform .25s ease,box-shadow .25s ease}.btn{transition:background .2s ease,color .2s ease,border-color .2s ease,transform .15s ease,box-shadow .2s ease}a{transition:color .15s ease,opacity .15s ease}.route-fade{animation:fadeIn .35s ease-out}img{transition:opacity .3s ease}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.skeleton{background:linear-gradient(90deg,var(--surface) 25%,var(--surface-hover) 50%,var(--surface) 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:var(--radius)}@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
