:root{--bg-primary:#070913;--bg-secondary:#0c1022;--bg-tertiary:#131936;--bg-card:#0f152cbf;--bg-card-hover:#161f40e6;--bg-glass-input:#0a0e1e99;--gold-primary:#e6b747;--gold-light:#fbe28e;--gold-dark:#b8860b;--gold-glow:#e6b74759;--gold-border:#e6b74738;--gold-border-bright:#e6b747a6;--accent-purple:#8b5cf6;--accent-cyan:#38bdf8;--accent-emerald:#10b981;--accent-rose:#f43f5e;--text-primary:#f8fafc;--text-secondary:#cbd5e1;--text-muted:#8492a6;--text-gold:#f5d47a;--font-cinzel:"Cinzel", serif;--font-serif:"Cormorant Garamond", Georgia, serif;--font-sans:"Plus Jakarta Sans", system-ui, -apple-system, sans-serif;--radius-sm:8px;--radius-md:14px;--radius-lg:20px;--radius-full:9999px;--shadow-subtle:0 4px 20px #0000004d;--shadow-glow:0 0 30px #e6b74733;--shadow-card:0 10px 30px -10px #00000080, inset 0 1px 0 #ffffff14;--transition-smooth:all .3s cubic-bezier(.16, 1, .3, 1)}*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}body{font-family:var(--font-sans);background-color:var(--bg-primary);color:var(--text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;min-height:100vh;line-height:1.6;overflow-x:hidden}body:before{content:"";pointer-events:none;z-index:0;background:radial-gradient(circle at 50% 0,#7850f01f,#0000 50%),radial-gradient(circle at 10% 40%,#e6b7470f,#0000 40%),radial-gradient(circle at 90% 70%,#38bdf812,#0000 45%);width:100%;height:100%;position:fixed;top:0;left:0}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:var(--bg-primary)}::-webkit-scrollbar-thumb{border-radius:var(--radius-full);background:#e6b7474d}::-webkit-scrollbar-thumb:hover{background:#e6b74799}::selection{color:#fff;background:#e6b74759}@keyframes floatSlow{0%,to{transform:translateY(0)}50%{transform:translateY(-3px)}}@keyframes pulseGlow{0%,to{transform:scale(1)}50%{transform:scale(1.08)}}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}@keyframes breatheExpand{0%,to{transform:scale(.85);box-shadow:0 0 30px #e6b74733}50%{transform:scale(1.25);box-shadow:0 0 60px #e6b74780}}.gold-gradient-text{background:linear-gradient(135deg,#fff7dc 0%,#f7cf68 50%,#d49f2b 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text}.celestial-glass{background:var(--bg-card);-webkit-backdrop-filter:blur(16px);border:1px solid var(--gold-border);box-shadow:var(--shadow-card);transition:var(--transition-smooth)}.celestial-glass:hover{border-color:var(--gold-border-bright)}:root{--bg:#f3ecdd;--ink:#16304f;--soft:#5a6a80;--gold:#8a6a2f;--gold-glow:#8a6a2f33;--line:#16304f29;--sheet:#fbf7ee;--card-bg:#fbf7ee99;--btn-active:#16304f14;--accent-badge:#16304f;--accent-badge-text:#f3ecdd;box-sizing:border-box}[data-theme=dark]{--bg:#16304f;--ink:#efe6d2;--soft:#9faec2;--gold:#d2b06a;--gold-glow:#d2b06a40;--line:#efe6d22e;--sheet:#1d3a5e;--card-bg:#1d3a5e99;--btn-active:#efe6d21a;--accent-badge:#d2b06a;--accent-badge-text:#16304f}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#16304f;--ink:#efe6d2;--soft:#9faec2;--gold:#d2b06a;--gold-glow:#d2b06a40;--line:#efe6d22e;--sheet:#1d3a5e;--card-bg:#1d3a5e99;--btn-active:#efe6d21a;--accent-badge:#d2b06a;--accent-badge-text:#16304f}}*,:before,:after{box-sizing:border-box;margin:0;padding:0}html,body{height:100%;background-color:var(--bg);height:-webkit-fill-available;color:var(--ink);-webkit-tap-highlight-color:transparent;font-family:"Source Sans 3",system-ui,-apple-system,sans-serif;transition:background-color .3s,color .3s;overflow:hidden}#root{height:100%;height:-webkit-fill-available}.app-wrapper{height:100%;max-width:640px;height:-webkit-fill-available;padding:env(safe-area-inset-top,16px) 24px env(safe-area-inset-bottom,16px);flex-direction:column;margin:0 auto;display:flex;position:relative}.app-header{z-index:2;justify-content:space-between;align-items:center;gap:12px;padding:12px 0 8px;display:flex}.section-btn{color:var(--gold);cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:6px;padding:6px 0;font-family:Cormorant Garamond,Georgia,serif;font-size:1.35rem;font-style:italic;font-weight:600;line-height:1.2;transition:opacity .2s;display:flex}.section-btn:hover{opacity:.85}.section-caret{opacity:.8;font-size:.8rem;font-style:normal}.header-right{align-items:center;gap:10px;display:flex}.header-icon-btn{color:var(--soft);cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;padding:6px;transition:color .2s,background .2s;display:flex}.header-icon-btn:hover{color:var(--ink);background:var(--btn-active)}.header-icon-btn.active{color:var(--gold)}.count-badge{color:var(--soft);white-space:nowrap;font-variant-numeric:tabular-nums;padding-left:4px;font-size:.9rem}.main-stage{touch-action:pan-y;-webkit-user-select:none;user-select:none;cursor:grab;flex-direction:column;flex:1;justify-content:center;padding:12px 0 20px;display:flex;position:relative}.main-stage:active{cursor:grabbing}.statement-card{transition:opacity .22s,transform .22s}.leaving .statement,.leaving .ref-row,.leaving .card-actions{opacity:0;transform:translateX(var(--dx,-16px))}.statement{text-wrap:pretty;margin:0 0 24px;font-family:Cormorant Garamond,Georgia,serif;font-size:clamp(2.1rem,8.4vw,3.2rem);font-weight:500;line-height:1.18;transition:opacity .22s,transform .22s}.ref-row{justify-content:space-between;align-items:center;margin:0 0 20px;transition:opacity .22s;display:flex}.ref{color:var(--gold);margin:0;font-family:Cormorant Garamond,Georgia,serif;font-size:1.45rem;font-style:italic}.card-tools{align-items:center;gap:8px;display:flex}.card-tool-btn{border:1px solid var(--line);color:var(--soft);cursor:pointer;background:0 0;border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;transition:all .2s;display:flex}.card-tool-btn:hover{color:var(--ink);border-color:var(--gold);transform:translateY(-1px)}.card-tool-btn.active-favorite{color:#e11d48;background:#e11d4814;border-color:#e11d48}.card-tool-btn.speaking{color:var(--gold);border-color:var(--gold);animation:1.5s infinite pulseGlow}.hint{color:var(--soft);text-align:center;margin:0 0 8px;font-size:.85rem;animation:3s ease-in-out infinite floatSlow}.app-nav{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;padding:12px 0 16px;display:flex}.app-nav button{color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:10px;min-width:64px;padding:12px 14px;font-family:"Source Sans 3",system-ui,sans-serif;font-size:1rem;font-weight:600;transition:background .15s,transform .1s}.app-nav button:active{background:var(--btn-active);transform:scale(.97)}.app-nav button.nav-today{color:var(--gold);border:1px solid var(--line)}.app-nav button.nav-today:hover{background:var(--btn-active);border-color:var(--gold)}button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.install-bar{text-align:center;margin:0 0 6px}.install-btn{color:var(--soft);cursor:pointer;background:0 0;border:0;padding:4px 8px;font-size:.85rem;text-decoration:underline;transition:color .2s}.install-btn:hover{color:var(--ink)}.sheet-backdrop{-webkit-backdrop-filter:blur(4px);z-index:100;background:#0a14238c;justify-content:center;align-items:flex-end;animation:.2s fadeIn;display:flex;position:fixed;inset:0}.sheet{background:var(--sheet);color:var(--ink);width:100%;max-width:640px;padding:24px 22px calc(24px + env(safe-area-inset-bottom,0px));border-radius:20px 20px 0 0;max-height:82vh;animation:.25s cubic-bezier(.16,1,.3,1) slideUp;overflow-y:auto;box-shadow:0 -10px 40px #0000004d}.sheet-header-row{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.sheet h2{margin:0;font-family:Cormorant Garamond,Georgia,serif;font-size:1.6rem;font-weight:600}.sheet p{color:var(--soft);margin:0 0 14px;font-size:.98rem;line-height:1.55}.sheet ol{margin:0 0 16px;padding-left:1.3rem;line-height:1.6}.sheet ol li{margin-bottom:6px}.sec-item{border:0;border-bottom:1px solid var(--line);width:100%;color:var(--ink);cursor:pointer;text-align:left;background:0 0;justify-content:space-between;align-items:center;padding:16px 4px;font-family:Cormorant Garamond,Georgia,serif;font-size:1.28rem;font-weight:500;transition:background .15s,padding-left .15s;display:flex}.sec-item:hover{color:var(--gold);padding-left:8px}.sec-item span{color:var(--soft);font-family:"Source Sans 3",sans-serif;font-size:.9rem;font-weight:400}.sheet-close-btn{background:var(--ink);width:100%;color:var(--sheet);cursor:pointer;border:0;border-radius:12px;margin-top:18px;padding:14px;font-family:"Source Sans 3",sans-serif;font-size:1rem;font-weight:600;transition:opacity .2s}.sheet-close-btn:hover{opacity:.9}.toast-notice{background:var(--ink);color:var(--sheet);z-index:200;border-radius:30px;align-items:center;gap:8px;padding:10px 18px;font-size:.9rem;font-weight:500;animation:.2s fadeIn;display:flex;position:fixed;bottom:80px;left:50%;transform:translate(-50%);box-shadow:0 6px 20px #00000040}.fav-empty{text-align:center;color:var(--soft);padding:30px 10px}.fav-item{border-bottom:1px solid var(--line);cursor:pointer;padding:14px 0}.fav-item:hover .fav-stmt{color:var(--gold)}.fav-stmt{margin-bottom:4px;font-family:Cormorant Garamond,Georgia,serif;font-size:1.25rem;transition:color .15s}.fav-ref{color:var(--gold);font-size:.95rem;font-style:italic}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.statement,.ref,.ref-row,.card-actions,.hint{transition:none!important;animation:none!important}}
