/* Sorsfonalak – night sky with gold accents (from the design canvas). */ :root { --bg: #0d1220; --panel: #111729; --panel-2: #0f1426; --line: #1f2740; --line-2: #2c3654; --ink: #ece6d8; --ink-2: #c9cfdc; --muted: #a3abc0; --gold: #d9b46a; --gold-hover: #e6c482; --gold-ink: #141a2c; --danger: #f2a0a0; --ok: #9fd8b0; --harmonic: #7fb0e0; --tense: #e38b8b; --square: #f0a35e; --radius: 10px; --font-display: var(--font-cormorant), "Cormorant Garamond", Georgia, serif; --font-body: var(--font-inter), Inter, system-ui, sans-serif; --font-symbols: "Noto Sans Symbols", "Segoe UI Symbol", "DejaVu Sans", sans-serif; color-scheme: dark; } * { box-sizing: border-box; } html, body { margin: 0; } body { min-height: 100vh; background: var(--bg); color: var(--ink); font: 400 15px/1.55 var(--font-body); } a { color: var(--gold); } a:hover { color: var(--gold-hover); } :focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; } h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0; } h1 { font-size: 40px; } h2 { font-size: 28px; } h3 { font-size: 20px; } p { margin: 0; } .muted { color: var(--muted); } .sym { font-family: var(--font-symbols); } /* Header */ .site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 12px 24px; background: rgba(13, 18, 32, 0.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); } .logo { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: 0.3px; } .logo span { color: var(--gold); } .logo:hover { color: var(--ink); } .nav { display: flex; gap: 4px; flex: 1; } .nav a { color: var(--ink-2); text-decoration: none; padding: 10px 12px; border-radius: 8px; min-height: 44px; display: inline-flex; align-items: center; } .nav a:hover, .nav a[aria-current="page"] { color: var(--gold); background: rgba(217, 180, 106, 0.08); } .who { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; } /* Layout */ .page { max-width: 960px; margin: 0 auto; padding: 32px 16px 64px; display: flex; flex-direction: column; gap: 24px; } .page-head { display: flex; flex-direction: column; gap: 6px; } .card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 18px; } .card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; } .grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; } .facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; } .facts dt { color: var(--muted); } .facts dd { margin: 0; } /* Forms */ .field { display: flex; flex-direction: column; gap: 8px; } .field label, .label { font-size: 14px; font-weight: 500; } .hint { font-size: 13px; color: var(--muted); } .inp { width: 100%; min-height: 48px; padding: 0 14px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--panel-2); color: var(--ink); font: 400 15px var(--font-body); } select.inp { padding-right: 32px; } .inp::placeholder { color: #8a93ab; } .inp:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 180, 106, 0.25); } .inp:disabled { opacity: 0.55; } .check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); min-height: 32px; cursor: pointer; } .check input { width: 18px; height: 18px; accent-color: var(--gold); margin: 0; } .row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; } .form-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; } .btn { min-height: 44px; padding: 0 18px; border-radius: var(--radius); border: 1px solid var(--line-2); background: transparent; color: var(--ink); font: 500 15px var(--font-body); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; } .btn:hover { border-color: #5a6790; background: rgba(255, 255, 255, 0.03); color: var(--ink); } .btn:disabled { opacity: 0.55; cursor: default; } .btn-primary { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); font-weight: 600; } .btn-primary:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: var(--gold-ink); } .btn-ghost { border-color: transparent; color: var(--muted); padding: 0 12px; } .btn-ghost:hover { color: var(--ink); border-color: transparent; } .btn-sm { min-height: 36px; padding: 0 12px; font-size: 14px; } .msg { font-size: 14px; } .msg-error { color: var(--danger); } .msg-ok { color: var(--ok); } .badge { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; color: var(--ink-2); white-space: nowrap; } .badge-gold { border-color: rgba(217, 180, 106, 0.5); color: var(--gold); } /* Place search */ .combo { position: relative; } .combo-list { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px; list-style: none; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: var(--radius); max-height: 280px; overflow-y: auto; } .combo-list button { width: 100%; text-align: left; background: transparent; border: 0; color: var(--ink); cursor: pointer; padding: 10px 12px; border-radius: 8px; font: inherit; min-height: 44px; } .combo-list button:hover, .combo-list button[aria-selected="true"] { background: rgba(217, 180, 106, 0.1); } .combo-list small { color: var(--muted); } /* Tables */ .table-wrap { overflow-x: auto; } table { width: 100%; border-collapse: collapse; font-size: 14px; } th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; } th { color: var(--muted); font-weight: 500; font-size: 13px; } td.num { font-variant-numeric: tabular-nums; white-space: nowrap; } .retro { color: var(--gold); font-size: 12px; margin-left: 4px; } /* Big three */ .big3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } .big3 > div { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 4px; } .big3 .glyph { font-size: 26px; color: var(--gold); line-height: 1; } .big3 strong { font-family: var(--font-display); font-size: 24px; font-weight: 600; } /* Login */ .auth { min-height: 100vh; display: flex; flex-wrap: wrap; } .auth-aside { flex: 1 1 480px; min-height: 320px; background: var(--panel); border-right: 1px solid var(--line); padding: 40px 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; } .auth-main { flex: 1 1 480px; display: flex; align-items: center; justify-content: center; padding: 48px 24px; } .auth-box { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 28px; } .wheel { width: min(440px, 80%); aspect-ratio: 1; margin: 0 auto; } .tagline { font-family: var(--font-display); font-size: 38px; font-weight: 600; line-height: 1.1; } .auth-foot { font-size: 15px; color: var(--muted); text-align: center; } /* Social login buttons; Google's own button lies invisibly on top (.gsi-overlay). */ .social-login { position: relative; } .btn-social { position: relative; width: 100%; min-height: 48px; padding: 0 52px; display: flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--line-2); border-radius: var(--radius); background: transparent; color: var(--ink); font: 500 15px var(--font-body); } .btn-social-icon { position: absolute; left: 16px; top: 50%; margin-top: -10px; width: 20px; height: 20px; display: flex; } .social-login:hover .btn-social { border-color: #5a6790; background: rgba(255, 255, 255, 0.03); } .social-login:focus-within .btn-social { outline: 2px solid var(--gold); outline-offset: 2px; } .social-login[data-ready="false"] .btn-social { opacity: 0.6; } .gsi-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0.001; overflow: hidden; cursor: pointer; } .gsi-overlay > div, .gsi-overlay iframe { transform: scale(1.06, 1.2); } /* Detailed analysis */ .analysis-card { gap: 14px; } .analysis { display: flex; flex-direction: column; gap: 28px; } .analysis-head { display: flex; flex-direction: column; gap: 12px; } .analysis-head h2 { font-size: 34px; } .analysis-lead { font-size: 17px; line-height: 1.7; color: var(--ink-2); font-style: italic; } .analysis-section { display: flex; flex-direction: column; gap: 12px; } .analysis-section h3 { font-size: 24px; color: var(--gold); } .analysis-section p, .analysis-lists li { font-size: 16px; line-height: 1.75; color: var(--ink-2); } .analysis strong { color: var(--ink); font-weight: 600; } .analysis-lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; } .analysis-lists h3 { font-size: 22px; margin-bottom: 8px; } .analysis-lists ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; } .analysis-advice { border-top: 1px solid var(--line); padding-top: 24px; } /* Chart page */ .summary-card { gap: 10px; border-color: rgba(217, 180, 106, 0.35); } .eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold); } .summary-title { font-size: 26px; } .summary-text { font-size: 16px; line-height: 1.65; color: var(--ink-2); } .summary-text strong { color: var(--ink); font-weight: 600; } .skeleton { display: flex; flex-direction: column; gap: 8px; } .skeleton span { height: 12px; border-radius: 6px; background: var(--line); animation: pulse 1.4s ease-in-out infinite; } .skeleton span:last-child { width: 60%; } @keyframes pulse { 50% { opacity: 0.45; } } @media (prefers-reduced-motion: reduce) { .skeleton span { animation: none; } } /* Loading while the LLM writes */ .loading { display: flex; align-items: center; gap: 24px; padding: 8px 0; } .loading-wheel { width: 120px; height: 120px; flex: none; animation: spin 24s linear infinite; } .loading-compact .loading-wheel { width: 64px; height: 64px; } .loading-text { display: flex; flex-direction: column; gap: 6px; } .loading-text strong { font-family: var(--font-display); font-size: 24px; font-weight: 600; } .loading-text .muted { animation: pulse 2.4s ease-in-out infinite; } @keyframes spin { to { transform: rotate(360deg); } } @media (prefers-reduced-motion: reduce) { .loading-wheel, .loading-text .muted { animation: none; } } @media (max-width: 640px) { .loading { flex-direction: column; text-align: center; } } /* Payment step */ .pay-box { display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--panel-2); } .pay-line { display: flex; justify-content: space-between; gap: 12px; } .chart-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr); gap: 24px; align-items: stretch; } .chart-side { gap: 16px; } .chart-side .summary-card { flex: 1 1 auto; } .chart-wheel-card { padding: 16px; gap: 10px; justify-content: center; } .chart-wheel { width: 100%; height: auto; display: block; max-width: 680px; margin: 0 auto; } .chart-layout .big3 { grid-template-columns: repeat(3, 1fr); gap: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; } .chart-layout .big3 > div { background: none; border: 0; border-radius: 0; padding: 14px 16px; min-width: 0; } .chart-layout .big3 > div + div { border-left: 1px solid var(--line); } .chart-layout .big3 .glyph { font-size: 20px; } .chart-layout .big3 strong { font-size: 21px; } .chart-layout .big3 .muted { font-size: 13px; } .wheel-legend { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; } .wheel-legend-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; } .legend-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; } .legend-line { display: inline-block; width: 24px; height: 2px; border-radius: 1px; } .legend-trine { background: var(--harmonic); } .legend-sextile { background: repeating-linear-gradient(90deg, var(--harmonic) 0 5px, transparent 5px 9px); } .legend-square { background: var(--square); } .legend-opposition { background: var(--tense); } .aspect-tag { white-space: nowrap; } /* Aspect grid */ .aspect-grid-wrap { overflow-x: auto; } .aspect-grid { width: auto; border-collapse: collapse; font-size: 16px; } .aspect-grid td, .aspect-grid th { width: 30px; min-width: 30px; height: 30px; padding: 0; text-align: center; vertical-align: middle; border: 1px solid var(--line); line-height: 1; } .aspect-grid th { color: var(--ink); font-weight: 400; font-size: 17px; background: var(--panel-2); } .aspect-grid .grid-angle { font: 600 11px var(--font-body); color: var(--gold); letter-spacing: 0.3px; } .aspect-grid td.void, .aspect-grid td.corner { border: 0; background: none; } .aspect-grid tbody td:not(.void):hover { background: var(--panel-2); } .asp-conjunction { color: var(--gold); } .asp-trine, .asp-sextile { color: var(--harmonic); } .asp-square { color: var(--square); } .asp-opposition { color: var(--tense); } .details > summary { cursor: pointer; color: var(--gold); min-height: 44px; display: flex; align-items: center; } .details[open] > summary { margin-bottom: 8px; } @media (max-width: 640px) { .aspect-grid { font-size: 13px; } .aspect-grid td, .aspect-grid th { width: 23px; min-width: 23px; height: 23px; } .aspect-grid th { font-size: 14px; } .aspect-grid .grid-angle { font-size: 9px; } } .aspect-harmonic { color: var(--harmonic); } .aspect-tense { color: var(--tense); } .aspect-neutral { color: var(--gold); } .w-ring { fill: none; stroke: var(--line-2); stroke-width: 1.2; } .w-faint { stroke: var(--line); } .w-inner { fill: var(--panel-2); } .w-sign { stroke: var(--line-2); stroke-width: 1; } .w-fire { fill: rgba(227, 139, 106, 0.09); } .w-earth { fill: rgba(159, 216, 176, 0.07); } .w-air { fill: rgba(217, 180, 106, 0.08); } .w-water { fill: rgba(127, 176, 224, 0.09); } .w-sign-glyph { fill: var(--gold); font-family: var(--font-symbols); font-size: 22px; } .w-tick { stroke: var(--line-2); stroke-width: 1; } .w-cusp { stroke: var(--line-2); stroke-width: 1; } .w-axis { stroke: var(--gold); stroke-width: 1.8; } .w-axis-label { fill: var(--gold); font: 600 14px var(--font-body); letter-spacing: 0.5px; } .w-house-num { fill: var(--muted); font: 500 12px var(--font-body); } .w-aspect { stroke-linecap: round; } .w-asp-trine { stroke: var(--harmonic); } .w-asp-sextile { stroke: var(--harmonic); stroke-dasharray: 5 4; } .w-asp-square { stroke: var(--square); } .w-asp-opposition { stroke: var(--tense); } .w-point-tick { stroke: var(--ink); stroke-width: 1.6; } .w-leader { stroke: var(--muted); stroke-width: 0.7; stroke-opacity: 0.6; } .w-point-glyph { fill: var(--ink); font-family: var(--font-symbols); font-size: 22px; } .w-point-deg { fill: var(--muted); font: 500 10.5px var(--font-body); } .w-end { fill: var(--ink-2); } .w-point-glyph, .w-point-deg, .w-house-num, .w-axis-label { paint-order: stroke; stroke: var(--panel); stroke-width: 4px; stroke-linejoin: round; } .w-point:hover .w-point-glyph { fill: var(--gold); } @media (max-width: 900px) { .chart-layout { grid-template-columns: 1fr; } } @media (max-width: 640px) { h1 { font-size: 32px; } .site-header { padding: 10px 16px; gap: 12px; } .nav { order: 3; flex-basis: 100%; } .card { padding: 18px; } .auth-aside { padding: 28px 20px; min-height: 0; } .wheel { width: 60%; } .big3 { grid-template-columns: 1fr; } .chart-layout .big3 > div { padding: 12px 10px; } .chart-layout .big3 strong { font-size: 18px; } .chart-wheel-card { padding: 8px; } } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }