:root{--geekge-bg:#fbf8ff;--geekge-ink:#29232f;--geekge-purple:#70518f;--geekge-muted:#716976;--geekge-focus:#9273b2}
body.geekge-home{margin:0;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;background:var(--geekge-bg);color:var(--geekge-ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:16px;line-height:1.5}
.geekge-home *{box-sizing:border-box}.geekge-home button,.geekge-home input,.geekge-home select,.geekge-home textarea{font:inherit}.geekge-home a{color:inherit}.geekge-home button{cursor:pointer}.geekge-home [hidden]{display:none!important}.geekge-home :focus-visible{outline:3px solid var(--geekge-focus);outline-offset:4px}
.geekge-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}.geekge-skip{position:fixed;top:12px;left:12px;padding:10px 16px;background:#fff;z-index:20;transform:translateY(-150%);border-radius:10px}.geekge-skip:focus{transform:none}
.geekge-header{height:84px;flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 30px}.geekge-service{font-size:16px;text-decoration:none;color:#6f6478!important;letter-spacing:1px}.geekge-header-actions{display:flex;align-items:center;gap:25px}.geekge-header-link{font-size:15px;text-decoration:none}.geekge-header-link:hover,.geekge-footer a:hover{text-decoration:underline}.geekge-products{position:relative}.geekge-home .mobile-toggle.geekge-grid-button{display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:50%;background:transparent;padding:8px;color:#625b69}.geekge-home .geekge-grid-button:hover{background:#eee8f4}.geekge-grid-button svg{display:block;width:23px;height:23px}.geekge-product-menu{position:absolute;right:0;top:52px;z-index:5;width:224px;padding:12px;background:#fff;border:1px solid #e7dfee;border-radius:20px;box-shadow:0 12px 40px #4f34601a;display:grid;gap:4px}.geekge-product-menu a,.geekge-product-menu button{display:block;border:0;border-radius:10px;background:transparent;text-decoration:none;text-align:left;padding:12px 14px;font-size:16px}.geekge-product-menu a:hover,.geekge-product-menu button:hover{background:#f5f0f9}.geekge-login{border:0;border-radius:24px;padding:11px 22px;background:#6d518a;color:#fff;font-size:15px;min-height:44px;white-space:nowrap}.geekge-login:hover{background:#5b4276}.geekge-login:disabled{cursor:wait;opacity:.6}
.geekge-stage{flex:1;display:flex;justify-content:center;padding:clamp(70px,13vh,142px) 24px 76px;min-height:580px}.geekge-search{width:min(820px,100%);text-align:center}.geekge-wordmark{margin:0;color:var(--geekge-purple);font-family:"Avenir Next",Avenir,"Trebuchet MS",Arial,sans-serif;font-weight:500;font-size:clamp(76px,8.5vw,118px);line-height:1.12;letter-spacing:-6px}.geekge-position{margin:13px 0 39px;color:#887698;font-size:18px;font-weight:500;letter-spacing:6px;padding-left:6px}.geekge-query-form{margin:0}.geekge-query-shell{display:flex;align-items:center;gap:10px;width:100%;min-height:66px;padding:8px 10px 8px 14px;background:#fff;border:1px solid #ded9e4;border-radius:36px;box-shadow:0 2px 7px #4a3e5714;transition:box-shadow .15s,border-color .15s}.geekge-query-shell:hover,.geekge-query-shell:focus-within{border-color:#d0c5dc;box-shadow:0 3px 12px #4a3e571f}.geekge-plus{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;padding:7px;border:0;border-radius:50%;color:#675c70;background:transparent}.geekge-plus:hover{background:#f3edf8}.geekge-plus svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;fill:none}.geekge-query-label{min-width:0;display:block;flex:1;text-align:left}.geekge-query-label input{display:block;width:100%;height:44px;min-width:0;border:0;background:transparent;color:#2b2333;outline:none!important;font-size:18px;padding:0 3px}.geekge-query-label input::placeholder{color:#99939e;opacity:1}.geekge-start{display:flex;align-items:center;justify-content:center;gap:9px;flex:0 0 auto;min-height:46px;padding:0 20px;border:0;border-radius:25px;background:#f1edf5;color:#3b2c4a;font-size:16px;font-weight:500;white-space:nowrap}.geekge-start:hover{background:#e7deef}.geekge-start svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.geekge-query-status{min-height:0;margin:0;color:#a13b42;font-size:15px}.geekge-query-status:not(:empty){margin-top:14px}.geekge-query-help{font-size:15px;color:#8c8294;margin:18px 0 0}.geekge-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:16px;width:min(570px,100%);margin:29px auto 0}.geekge-shortcut{display:flex;align-items:center;gap:15px;min-height:92px;padding:19px 23px;border:1px solid transparent;border-radius:20px;background:#f0eaf6;color:#42334d!important;text-align:left;text-decoration:none;transition:background .15s,transform .15s}.geekge-shortcut:hover{background:#e8dff1;transform:translateY(-1px)}.geekge-shortcut-icon{display:grid;place-items:center;width:29px;flex:0 0 29px;color:#7a638f}.geekge-shortcut-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.geekge-shortcut strong{display:block;font-size:17px;font-weight:600;white-space:nowrap}.geekge-shortcut small{display:block;font-size:15px;font-weight:400;color:#887a93;margin-top:4px;white-space:nowrap}.geekge-example{margin-top:25px;padding:6px 10px;border:0;background:none;color:#95899e;font-size:14px;line-height:1.65}.geekge-example:hover{color:#70518f;text-decoration:underline}
.geekge-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 30px;padding:20px 30px;background:#f3eef8;border-top:1px solid #eee7f4;color:#8b8095;font-size:14px}.geekge-footer>div{display:flex;align-items:center;gap:22px;flex-wrap:wrap}.geekge-footer a{text-decoration:none}.geekge-footer button{border:0;padding:0;background:transparent;color:inherit;font-size:14px}.geekge-footer button:hover{color:#644b7c}.geekge-noscript{padding:16px 24px;text-align:center}
.geekge-home .geekge-birth-dialog{width:min(1000px,calc(100vw - 40px));max-height:calc(100vh - 50px);max-height:calc(100dvh - 50px);margin:auto;padding:0;border:1px solid #e7dfed;border-radius:24px;color:#29232f;background:#fff;box-shadow:0 20px 80px #35213a33;overflow:auto}.geekge-birth-dialog::backdrop{background:#30243b66;backdrop-filter:blur(4px)}.geekge-dialog-head{position:sticky;top:0;z-index:3;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:26px 30px 18px;background:#fff;border-bottom:1px solid #eee9f3}.geekge-dialog-head h2{font:600 23px/1.4 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;margin:0}.geekge-dialog-head p{font-size:15px;color:#8b8094;margin:7px 0 0}.geekge-dialog-close{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;background:#f5f1f8;border:0;border-radius:50%;padding:8px;color:#75657f}.geekge-dialog-close svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;fill:none}.geekge-home .geekge-birth-dialog .birth-card{width:100%;max-width:none;margin:0;padding:25px 30px 28px;border:0;border-radius:0;box-shadow:none}.geekge-birth-dialog .mode-tabs{margin-bottom:23px}.geekge-birth-dialog .primary-button{background:#70518f;border-color:#70518f}.geekge-birth-dialog .primary-button:hover{background:#5e427e}.geekge-birth-dialog .form-error{font-size:16px}.geekge-birth-dialog .pillars-preview{background:#fbf9fd}.geekge-birth-dialog .field{font-size:15px}.geekge-birth-dialog input,.geekge-birth-dialog select,.geekge-birth-dialog textarea{font-size:16px}.geekge-home #notice-dialog{border-radius:22px}.geekge-home #notice-dialog .black-button{background:#70518f;border:0}
@media(min-width:1800px){.geekge-stage{padding-top:18vh}.geekge-search{width:900px}.geekge-wordmark{font-size:132px}.geekge-query-shell{min-height:70px}.geekge-shortcuts{width:620px}}
@media(max-width:760px){.geekge-header{height:76px;padding:0 20px}.geekge-header-actions{gap:16px}.geekge-service{font-size:15px}.geekge-header-link{font-size:14px}.geekge-login{font-size:14px;padding:10px 17px}.geekge-stage{padding-top:clamp(72px,14vh,120px);min-height:540px}.geekge-wordmark{font-size:90px;letter-spacing:-5px}.geekge-position{margin:10px 0 32px;font-size:17px}.geekge-shortcuts{gap:12px}.geekge-shortcut{padding:17px 18px;gap:12px}.geekge-footer{justify-content:center;text-align:center;padding:20px;gap:14px;font-size:13px}.geekge-footer>div{justify-content:center;gap:18px}.geekge-footer button{font-size:13px}}
@media(max-width:520px){.geekge-header{height:70px;padding:0 15px}.geekge-service{letter-spacing:0}.geekge-header-actions{gap:10px}.geekge-header-link{display:none}.geekge-home .mobile-toggle.geekge-grid-button{width:36px;height:36px;padding:8px}.geekge-login{padding:10px 16px;min-height:40px;font-size:14px}.geekge-stage{padding:92px 17px 72px;min-height:0}.geekge-search{width:100%}.geekge-wordmark{font-size:79px;letter-spacing:-5px}.geekge-position{font-size:16px;letter-spacing:5px;margin:11px 0 31px}.geekge-query-shell{padding:7px 7px 7px 9px;gap:4px;min-height:60px}.geekge-plus{flex-basis:30px;width:30px;height:34px;padding:5px}.geekge-query-label input{font-size:16px;height:42px}.geekge-start{min-height:42px;padding:0 13px;font-size:14px;gap:6px}.geekge-start svg{width:17px;height:17px}.geekge-query-help{font-size:14px;margin-top:17px}.geekge-shortcuts{gap:10px;margin-top:25px}.geekge-shortcut{min-height:90px;padding:17px 13px;gap:10px;border-radius:18px}.geekge-shortcut-icon{width:23px;flex-basis:23px}.geekge-shortcut-icon svg{width:23px;height:23px}.geekge-shortcut strong{font-size:15px}.geekge-shortcut small{font-size:13px;margin-top:5px}.geekge-example{font-size:13px;margin-top:22px;max-width:310px}.geekge-footer{margin-top:auto;font-size:12px;gap:10px;padding:17px 14px}.geekge-footer>div{gap:14px}.geekge-footer button{font-size:13px}.geekge-home .geekge-birth-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);border-radius:19px}.geekge-dialog-head{padding:20px 18px 15px}.geekge-dialog-head h2{font-size:21px}.geekge-dialog-head p{font-size:14px}.geekge-home .geekge-birth-dialog .birth-card{padding:20px 18px 24px}.geekge-birth-dialog .mode-tabs{gap:4px}.geekge-birth-dialog .mode-tabs button{font-size:14px;padding:10px 11px}.geekge-birth-dialog .submit-row{flex-direction:column;align-items:stretch}.geekge-birth-dialog #generate-button{width:100%;font-size:16px}.geekge-birth-dialog .pillars-preview{margin-top:20px}}
@media(max-width:360px){.geekge-stage{padding-left:12px;padding-right:12px}.geekge-wordmark{font-size:71px}.geekge-start{padding:0 10px}.geekge-start svg{display:none}.geekge-shortcut{padding:16px 10px;gap:7px}.geekge-shortcut-icon{flex-basis:20px;width:20px}.geekge-shortcut strong{font-size:14px}.geekge-shortcut small{font-size:12px}}
.geekge-position{font-size:22px;letter-spacing:1.5px;margin:15px 0 0;padding-left:0;color:#78648c;font-weight:400}.geekge-role{font-size:15px;letter-spacing:3px;color:#a08caf;margin:8px 0 33px;padding-left:3px}.geekge-topics{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin:21px auto 0}.geekge-topics button{border:1px solid #e7deef;border-radius:20px;background:transparent;color:#897499;padding:7px 14px;font-size:14px;line-height:1.4}.geekge-topics button:hover{border-color:#cbbada;background:#f1eaf7;color:#604878}.geekge-shortcuts{margin-top:24px}.geekge-query-status[data-kind=info]{color:#84728f}.geekge-birth-dialog #geekge-birth-context{max-width:760px;overflow-wrap:anywhere}.geekge-query-form[aria-busy=true] .geekge-start{opacity:.6;cursor:wait}
@media(max-width:520px){.geekge-position{font-size:19px;margin-top:13px;letter-spacing:1px}.geekge-role{font-size:14px;margin:7px 0 27px}.geekge-topics{gap:7px;margin-top:19px}.geekge-topics button{font-size:13px;padding:6px 11px}.geekge-shortcut strong{font-size:16px}.geekge-shortcut small{font-size:14px}.geekge-shortcuts{grid-template-columns:1fr 1fr;margin-top:22px}.geekge-query-help{font-size:14px}.geekge-example{font-size:13px}.geekge-stage{padding-top:72px}}
@media(max-width:360px){.geekge-shortcut{padding:14px 10px;gap:7px}.geekge-shortcut strong{font-size:15px}.geekge-shortcut small{font-size:12px}.geekge-topics button{font-size:12px;padding:6px 9px}}
.geekge-query-help{color:#75667f}.geekge-topics button{color:#75607f}.geekge-shortcut small{color:#74657f}.geekge-example{color:#76677f}.geekge-footer{color:#74667e}.geekge-query-label input::placeholder{color:#7c7383}.geekge-role{color:#7b6689}.geekge-dialog-head p{color:#75667f}
@media(prefers-reduced-motion:reduce){.geekge-home *{scroll-behavior:auto!important;transition:none!important}}

/* Final readability and focused entry refinement. */
.geekge-role,.geekge-query-help,.geekge-example,.geekge-footer,.geekge-shortcut small{color:#6f5e7d}.geekge-query-label input::placeholder{color:#74677f}.geekge-topics button{color:#705b7e}.geekge-birth-dialog>.geekge-example{display:block;margin:15px 24px 0;text-align:left;font-size:14px}.geekge-query-help.geekge-sr-only{margin:0}.geekge-stage .geekge-example{display:none}

@media(max-width:360px){.geekge-topics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:min(250px,100%);gap:8px}.geekge-topics button{font-size:13px;padding:7px 11px}.geekge-footer>div:last-child{display:grid;grid-template-columns:repeat(3,max-content);justify-content:center;gap:10px 20px}.geekge-footer>div:last-child>a:first-child{grid-column:1/-1;text-align:center}}

/* Dialog has its own responsive layout and scroll area, independent of the landing page. */
.geekge-home #birth-dialog{width:min(1000px,calc(100vw - 40px));max-width:1000px;overflow:hidden;container-name:geekge-birth;container-type:inline-size}
.geekge-home #birth-dialog[open]{display:flex;flex-direction:column}
#birth-dialog .geekge-dialog-head{position:relative;flex:0 0 auto;min-width:0}
#birth-dialog .geekge-birth-body{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scroll-padding-block:20px}
#birth-dialog .geekge-birth-body>.geekge-example{display:block;margin:16px 30px 0;text-align:left;font-size:14px;max-width:calc(100% - 60px)}
#birth-dialog .identity-grid{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:20px}
#birth-dialog .identity-left{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:18px;min-width:0}
#birth-dialog .field,#birth-dialog .birth-main,#birth-dialog .relation-field,#birth-dialog .name-input{min-width:0}
#birth-dialog .relation-field{grid-column:auto}
#birth-dialog .name-input input{flex:1 1 0;width:0;min-width:0}
#birth-dialog .gender-switch{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#birth-dialog .gender-switch span{white-space:nowrap;min-height:44px;font-size:14px}
#birth-dialog .birth-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;align-items:start}
#birth-dialog .date-grid{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(0,1fr));gap:12px}
#birth-dialog .field>input,#birth-dialog .field>select,#birth-dialog .field>textarea{width:100%;min-width:0}
#birth-dialog .mode-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
#birth-dialog .mode-tabs button{white-space:nowrap}
#birth-dialog .pillars-preview{width:100%;min-width:0;max-width:100%;margin-top:0;align-self:start}
@container geekge-birth (max-width:800px){#birth-dialog .identity-grid,#birth-dialog .birth-grid{grid-template-columns:minmax(0,1fr)}#birth-dialog .relation-field{grid-column:1/-1}#birth-dialog .pillars-preview{height:auto;min-height:140px;margin-top:0}}
@container geekge-birth (max-width:480px){#birth-dialog .identity-left{grid-template-columns:minmax(0,1fr);gap:16px}#birth-dialog .identity-grid{gap:16px}#birth-dialog .date-grid{grid-template-columns:minmax(0,1.3fr) repeat(2,minmax(0,1fr));gap:8px}#birth-dialog .mode-tabs button{font-size:14px;padding:10px 6px}#birth-dialog .gender-switch span{font-size:14px}#birth-dialog .geekge-birth-body>.geekge-example{margin:16px 18px 0;max-width:calc(100% - 36px)}}
@media(max-width:520px){.geekge-home #birth-dialog{width:calc(100vw - 20px)}#birth-dialog .submit-row{flex-direction:column;align-items:stretch}#birth-dialog #generate-button{width:100%}}
#birth-dialog .geekge-dialog-close{width:44px;height:44px;flex-basis:44px}
#birth-dialog .mode-tabs button{min-height:44px}
@container geekge-birth (max-width:480px){#birth-dialog .mode-tabs button{padding-inline:2px}}
@media(max-width:840px){#birth-dialog .identity-grid,#birth-dialog .birth-grid{grid-template-columns:minmax(0,1fr)}#birth-dialog .relation-field{grid-column:1/-1}#birth-dialog .pillars-preview{height:auto;min-height:140px}}
@media(max-width:520px){#birth-dialog .identity-left{grid-template-columns:minmax(0,1fr)}#birth-dialog .mode-tabs button{font-size:14px;padding-inline:2px}}

/* Every public entry remains legible and easy to reach on narrow phones. */
.geekge-home .geekge-plus,.geekge-home .geekge-login,.geekge-home .geekge-grid-button,.geekge-home .geekge-start{min-width:44px;min-height:44px}
.geekge-home .geekge-service{min-height:44px}.geekge-header-link{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}
.geekge-topics button{min-height:44px;font-size:14px}.geekge-footer,.geekge-footer button,.geekge-shortcut small{font-size:14px}
.geekge-footer button,.geekge-footer a{min-height:44px;display:inline-flex;align-items:center}
.geekge-home #notice-dialog{max-height:calc(100dvh - 32px);overflow:auto;padding:30px;color:#302739}
.geekge-home #notice-dialog h2{padding-right:28px;font:600 24px/1.4 var(--sans)}
.geekge-home #notice-content p{color:#685d71;font-size:16px;line-height:1.9}
.geekge-home #notice-dialog .dialog-close{width:44px;height:44px;top:8px;right:8px;color:#685d71}
.geekge-home #notice-dialog .dialog-done{min-height:44px;font-size:16px}
.geekge-home #notice-content .inline-link{min-height:44px;display:flex;align-items:center;justify-content:center;font-size:16px;color:#604179}
#birth-dialog .field,#birth-dialog .check,#birth-dialog .small-note,#birth-dialog .preview-heading,#birth-dialog .preview-empty,#birth-dialog .preview-meta,#birth-dialog .form-message,#birth-dialog .coordinates-toggle,#birth-dialog .live-dot,#birth-dialog .city-options small{font-size:14px;color:#685d71}
#birth-dialog .field input::placeholder,#birth-dialog .field textarea::placeholder{color:#746a7c}
#birth-dialog .check{min-height:44px}#birth-dialog .coordinates-toggle,#birth-dialog .smart-actions .outline-button,#birth-dialog .city-options button{min-height:44px;font-size:14px}
#birth-dialog .form-message{max-width:100%}#birth-dialog .mode-tabs button{color:#685d71}#birth-dialog .mode-tabs button[aria-selected=true]{color:#fff;background:#70518f}
#birth-dialog .gender-switch span{color:#5f626a}#birth-dialog .gender-switch input:checked+span{color:#604179;background:#eee7f6;border-color:#ad96c2}
#birth-dialog .preview-empty{line-height:1.8}#birth-dialog .mini-pillars small,#birth-dialog .mini-pillars .god{font-size:14px}
.geekge-home input:focus-visible,.geekge-home select:focus-visible,.geekge-home textarea:focus-visible{outline:2px solid #70518f;outline-offset:2px}
@media(max-width:520px){.geekge-home .geekge-grid-button{width:44px;height:44px;min-width:44px}.geekge-header-actions{gap:8px}.geekge-shortcut small{font-size:14px;white-space:normal}.geekge-topics button{font-size:14px}.geekge-footer{font-size:14px;gap:4px}.geekge-footer>div{gap:4px 16px}.geekge-footer button{font-size:14px}.geekge-home #notice-dialog{padding:25px 22px}.geekge-footer>div:last-child{gap:4px 20px}}
@media(max-width:360px){.geekge-header{padding-inline:12px}.geekge-login{padding-inline:12px}.geekge-home .geekge-service .geekge-brand-type strong{font-size:18px}.geekge-shortcut{padding:14px 10px;gap:6px}.geekge-shortcut small{font-size:14px}.geekge-shortcut-icon{display:none}.geekge-topics button{font-size:14px}}
@media(max-width:680px){.geekge-header-link{display:none}}
