:root{color-scheme:dark;--bg:#070d1d;--ink:#fff5e8;--muted:#bdc6d9;--gold:#f3c17c;--rose:#f4a5b8;--mint:#86e1d3;--purple:#ab9de6;--edge:rgba(195,202,236,.22)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:'Segoe UI',system-ui,Arial,sans-serif;background:var(--bg);color:var(--ink)}button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--gold);outline-offset:2px}button:disabled{opacity:.5;cursor:wait}.stardust{pointer-events:none;position:fixed;inset:0;background:radial-gradient(ellipse at 6% 74%,rgba(65,45,112,.35),transparent 35%),radial-gradient(ellipse at 91% 35%,rgba(25,103,109,.26),transparent 39%),radial-gradient(circle at 21% 42%,rgba(252,234,210,.23) 1px,transparent 2px),radial-gradient(circle at 79% 15%,rgba(231,230,253,.28) 1px,transparent 2px);background-size:auto,auto,173px 147px,239px 211px}
.shell{position:relative;display:flex;flex-direction:column;height:100dvh;min-height:580px;overflow:hidden}.topbar{height:44px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,2.2vw,46px);background:rgba(4,11,25,.92);border-bottom:1px solid rgba(244,193,124,.14);font-size:11px;font-weight:800;letter-spacing:1.35px}.back{display:flex;align-items:center;gap:10px}.back span{display:grid;place-items:center;border:1px solid rgba(243,193,124,.4);width:27px;height:27px;border-radius:50%;font-size:21px;font-weight:400;line-height:1}.brand{color:#e8d4b1}.brand i{font-size:17px;font-style:normal;color:var(--mint);margin-right:10px}
.page{flex:1;min-height:0;width:min(100%,1650px);margin:auto;padding:9px clamp(14px,2vw,38px) 4px;display:flex;flex-direction:column;gap:8px}.hero{flex:none;min-height:130px;height:clamp(116px,17vh,148px);border:1px solid rgba(243,193,124,.32);border-radius:20px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 72% 15%,rgba(60,127,132,.45),transparent 39%),linear-gradient(104deg,#251737 0%,#252848 56%,#0f414d 100%);box-shadow:0 14px 44px rgba(0,0,0,.17)}.hero:after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 47% 18%,rgba(255,255,255,.45) 1px,transparent 1.4px),radial-gradient(circle at 86% 72%,rgba(248,222,174,.55) 1px,transparent 1.6px);background-size:190px 120px,260px 140px;opacity:.45}.hero-copy{position:relative;z-index:2;padding:13px clamp(17px,2.2vw,33px);width:76%;height:100%;display:flex;flex-direction:column;justify-content:center}.overline,.eyebrow{font-size:10px;letter-spacing:2px;font-weight:800;color:var(--gold);margin:0}.hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(28px,3vw,43px);line-height:1.06;font-weight:600;letter-spacing:-.8px;margin:5px 0 6px}.hero h1 em{color:#96e8dc;font-style:italic}.hero-desc{font-size:clamp(11px,1vw,14px);color:#f7e7e5;margin:0;line-height:1.4;max-width:730px}.hero-tag{font-size:10px;color:#e6cda3;font-weight:600;margin:7px 0 0}.hero-tag span{color:var(--mint);padding-right:6px}.hero-art{position:absolute;right:3%;top:0;height:100%;width:23%;display:grid;place-items:center}.orbit{position:absolute;border:1px solid rgba(160,227,223,.49);border-radius:50%;transform:rotate(-20deg)}.orbit.one{width:138px;height:138px}.orbit.two{width:199px;height:91px;transform:rotate(28deg)}.orbit.three{width:195px;height:76px;transform:rotate(-37deg);border-color:rgba(249,202,140,.44)}.cosmic-sun{font-family:Georgia,serif;color:#f6cf8e;font-size:67px;text-shadow:0 0 19px rgba(240,186,111,.42)}.tiny-star{position:absolute;color:var(--mint)}.tiny-star.a{top:21%;left:30%}.tiny-star.b{top:37%;right:16%;color:var(--gold)}.tiny-star.c{bottom:16%;left:32%;color:var(--rose)}.art-label{position:absolute;bottom:7px;white-space:nowrap;color:#c2ece3;font-size:8px;letter-spacing:2px;font-weight:800}
.date-ribbon{flex:none;min-height:67px;display:flex;align-items:center;gap:16px;padding:7px 14px;border:1px solid rgba(125,201,207,.28);border-radius:14px;background:linear-gradient(100deg,rgba(15,36,60,.97),rgba(18,50,67,.96))}.date-intro{display:flex;align-items:center;gap:12px;min-width:210px}.date-symbol{font-size:25px;color:var(--gold)}.date-intro strong{display:block;font-family:Georgia,serif;font-size:18px;font-weight:600}.date-intro small{font-size:11px;color:#9dc4ca}.date-presets{display:flex;gap:7px;flex:1;justify-content:center}.date-presets button{border:1px solid rgba(166,207,208,.36);background:rgba(10,22,39,.65);color:#d5e7e9;border-radius:20px;padding:10px 14px;font-size:11px;font-weight:800;min-width:110px}.date-presets button.current,.date-presets button.active{background:linear-gradient(120deg,#345e72,#276665);border-color:var(--mint);color:#fff8d8}.date-picker{font-size:11px;font-weight:700;color:#d3e7eb;display:flex;gap:9px;align-items:center;white-space:nowrap}.date-picker input{min-width:137px;width:145px;color:var(--ink);background:#081b2b;border:1px solid #376574;padding:9px;border-radius:8px;color-scheme:dark}
.content-grid{flex:1;min-height:0;display:grid;grid-template-columns:1fr 1.12fr;gap:10px}.panel{border:1px solid var(--edge);border-radius:17px;min-height:0;overflow:hidden;padding:13px;display:flex;flex-direction:column}.form-panel{background:linear-gradient(152deg,rgba(35,27,60,.93),rgba(13,23,44,.98));overflow-y:auto;scrollbar-width:thin;scrollbar-color:#506c84 #15192d}.results-panel{background:linear-gradient(154deg,rgba(14,49,67,.94),rgba(11,22,44,.99));border-color:rgba(128,217,214,.37)}.section-head{display:flex;align-items:center;gap:11px;min-height:42px}.section-head>div{flex:1;min-width:0}.step{height:27px;width:27px;border-radius:50%;background:#7562a9;border:1px solid #c1a7f1;display:grid;place-items:center;font-size:12px;font-weight:900;color:white}.step.gold{background:#947343;border-color:#e7c987}.section-head h2{font-family:Georgia,serif;font-size:clamp(18px,1.6vw,24px);line-height:1.16;font-weight:600;letter-spacing:-.3px;margin:3px 0 0}.sample{color:#f4e8cf;background:rgba(183,132,113,.18);border:1px solid rgba(249,197,163,.41);border-radius:9px;font-size:10px;font-weight:800;padding:10px;white-space:nowrap}.description{font-size:12px;line-height:1.4;color:#d3cddd;margin:8px 0 13px}.entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.entry-grid label,.location-grid label{display:block;font-size:11px;font-weight:800;color:#efe5da}.entry-grid label small{font-weight:500;color:#b9b7d2}.entry-grid input,.location-grid input{display:block;margin-top:7px;width:100%;min-height:40px;border:1px solid rgba(200,188,223,.34);border-radius:9px;padding:9px 11px;background:#090f22;color:#fffcf4}.entry-grid input:focus,.location-grid input:focus{border-color:var(--gold)}#location{margin-top:13px;border:1px solid rgba(170,188,222,.29);border-radius:10px;background:rgba(10,19,39,.62)}#location summary{cursor:pointer;padding:11px 12px;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;font-weight:800;color:#f1dcce;list-style:none}#location summary::-webkit-details-marker{display:none}#location summary small{color:#b9c9d6;font-size:10px;font-weight:500;margin-left:8px}#location summary .expand{font-size:22px;font-weight:400;color:var(--mint)}#location[open] summary{border-bottom:1px solid var(--edge)}#location[open] summary .expand{transform:rotate(45deg)}.location-content{padding:8px 12px 12px}.location-content p{font-size:11px;color:#bacbd5;line-height:1.4;margin:0 0 8px}.location-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.birth-help{margin:12px 0;color:#bfc9d7;font-size:11px}.form-actions{margin-top:12px;display:flex;gap:8px}.go{flex:1;padding:12px;color:#161d2b;background:linear-gradient(105deg,#f3c47f,#b6e6d6);border:1px solid #f5d8a8;border-radius:9px;font-weight:900;font-size:12px}.reset{border:1px solid rgba(176,205,215,.41);background:#162438;color:#e3e5e9;border-radius:9px;padding:0 13px;font-size:11px;font-weight:800}.error{min-height:17px;margin:7px 0 2px;font-size:11px;color:#ffb6c2}.learn{border-top:1px solid rgba(187,177,219,.18);margin-top:auto;padding-top:11px;display:flex;gap:11px;align-items:flex-start}.learn-icon{color:var(--gold);font-size:23px}.learn strong{font-size:12px}.learn p{color:#c3c1d6;font-size:11px;line-height:1.4;margin:3px 0 0}
.engine{font-weight:900;font-size:9px;border:1px solid rgba(134,225,211,.62);color:#a7eadc;border-radius:30px;padding:6px 10px;white-space:nowrap}.engine.unready{color:#f5beae;border-color:#b86962}.result-switch{display:flex;border:1px solid rgba(139,202,212,.23);background:#0b2033;border-radius:10px;padding:4px;margin:12px 0 9px;gap:4px}.result-switch button{flex:1;padding:8px 7px;border-radius:8px;border:0;color:#a9cbd1;background:transparent;font-size:11px;font-weight:800}.result-switch button.selected{color:#09232d;background:linear-gradient(115deg,#a0e7d6,#edcf93)}.result-body{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#407684 #091c2e;border:1px solid rgba(141,207,217,.24);border-radius:11px;background:radial-gradient(ellipse at 55% 25%,rgba(39,101,103,.27),transparent 70%),#0a1b30;padding:11px}.empty-state{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.empty-state h3{font:normal 26px/1.15 Georgia,serif;margin:10px 0 4px;color:#fff2db}.empty-state p{font-size:12px;color:#adcbd2;max-width:330px;line-height:1.5}.empty-art{position:relative;width:170px;height:130px}.empty-art span{position:absolute}.empty-art .ring1,.empty-art .ring2{border:1px solid rgba(143,231,217,.43);border-radius:50%;width:150px;height:82px;top:25px;left:8px;transform:rotate(35deg)}.empty-art .ring2{transform:rotate(-35deg);border-color:rgba(246,189,118,.44)}.empty-art .sun{font-size:61px;color:#facb89;left:53px;top:15px}.empty-art .moon{font-size:24px;color:#a9e7dd;left:18px;top:65px}.result-note{font-size:10px;color:#aac8d2;padding-top:7px;flex:none}.result-heading{font-family:Georgia,serif;font-size:20px;color:#f6e8d1;margin:3px 0 5px}.date-label{color:#8ce4d9;font-size:11px;letter-spacing:1px;font-weight:800}.result-summary{font-size:12px;color:#c9d7df;margin:4px 0 12px}.cards{display:grid;gap:8px}.story-card{border-radius:11px;background:linear-gradient(116deg,rgba(68,98,119,.31),rgba(37,41,76,.35));border:1px solid rgba(173,206,216,.2);padding:10px 13px;display:flex;align-items:flex-start;gap:10px}.aspect-glyph{display:grid;place-items:center;flex:none;width:34px;height:34px;border:1px solid rgba(238,202,148,.55);border-radius:50%;font-size:20px;color:var(--gold)}.story-card strong{font-size:12px;display:block;margin:0 0 4px}.story-card p{font-size:11px;color:#c5d6dc;line-height:1.45;margin:0}.story-card small{font-size:10px;color:#a4c6c9}.wheel-wrap{text-align:center}.wheel-wrap svg{width:min(100%,430px);height:auto;max-height:355px}.wheel-caption{font-size:11px;color:#b5d4d7;margin:4px}.raw-table{width:100%;border-collapse:collapse;font-size:11px}.raw-table th{text-align:left;color:#f5ce95;background:#193247;font-size:10px;position:sticky;top:0}.raw-table th,.raw-table td{padding:8px 6px;border-bottom:1px solid rgba(133,195,204,.17)}.raw-table td{color:#d9e2e8}.technical-note{margin:8px 0;font-size:11px;color:#b1c7d2}footer{height:28px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,2.2vw,46px);font-size:10px;font-weight:700;color:#b6c6d9;background:rgba(4,11,25,.67)}footer a{color:#f4d29e;font-size:10px;letter-spacing:.5px}
@media(max-height:740px) and (min-width:981px){.hero{height:112px;min-height:112px}.hero-copy{padding-top:5px;padding-bottom:5px}.hero h1{font-size:31px}.date-ribbon{min-height:57px}.description{margin:4px 0 7px}.panel{padding:9px}.result-switch{margin:5px 0}.birth-help{margin:7px 0}.form-actions{margin-top:7px}.learn{padding-top:6px}}
@media(max-width:1160px){.date-ribbon{gap:7px}.date-intro{min-width:178px}.date-presets button{padding:8px 6px;min-width:85px}.date-picker{font-size:10px}.date-picker input{width:125px;min-width:125px}.hero-copy{width:78%}.location-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.section-head h2{font-size:18px}}
@media(max-width:980px){.shell{height:auto;min-height:100dvh;overflow:visible}.page{padding-bottom:12px}.hero{height:auto;min-height:150px}.hero-copy{width:82%}.hero-art{right:0;width:22%;opacity:.6}.date-ribbon{flex-wrap:wrap}.date-presets{flex:1}.content-grid{grid-template-columns:1fr}.panel{min-height:350px}.results-panel{min-height:460px}.result-body{min-height:300px;max-height:560px}.form-panel .learn{margin-top:14px}footer{min-height:32px;height:auto;gap:8px;flex-wrap:wrap;padding:10px 16px}}
@media(max-width:590px){.topbar{padding:0 12px}.hero{min-height:187px}.hero-copy{width:100%;padding:17px}.hero h1{font-size:32px}.hero-desc{max-width:90%}.hero-art{opacity:.19;right:4%;width:55%}.hero-tag{font-size:9px}.date-ribbon{padding:11px}.date-intro{width:100%}.date-presets{width:100%}.date-presets button{min-width:0}.date-picker{width:100%;justify-content:space-between}.date-picker input{flex:1;max-width:190px}.entry-grid{grid-template-columns:1fr}.location-grid{grid-template-columns:1fr}.section-head h2{font-size:18px}.section-head .sample{padding:8px 6px}.panel{padding:12px}.result-switch button{font-size:10px}.result-body{min-height:290px}}
@media(prefers-reduced-motion:no-preference){button{transition:background .18s,filter .18s,transform .18s}button:hover{filter:brightness(1.14)}}
