:root{color-scheme:dark;--bg:#111017;--panel:#19171f;--line:#34303c;--gold:#dfbd7d;--plum:#c2afd6;--text:#f4eee6;--muted:#b4aebd;--soft:#25212c;--serif:Georgia,'Times New Roman',serif;font-family:'Segoe UI',system-ui,sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0;color:var(--text);background:radial-gradient(ellipse at 0 50%,#30233455,transparent 58%),var(--bg);min-height:100dvh}button,input,textarea{font:inherit}button,a,input,textarea{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{opacity:.5;cursor:default}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--gold);outline-offset:4px}button{border:0}button,a,input,textarea{ -webkit-tap-highlight-color:transparent}[hidden]{display:none!important}.topbar{height:90px;max-width:1370px;margin:auto;padding:0 38px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;gap:13px;align-items:center}.brand img{object-fit:cover;border-radius:50%;box-shadow:0 0 0 1px #d6b77735}.brand strong{display:block;font-family:var(--serif);font-size:26px;letter-spacing:-.7px;font-weight:500}.brand strong span{margin-left:6px;color:var(--plum);font-style:italic}.brand small{display:block;font-size:10px;letter-spacing:2px;color:var(--muted);margin-top:4px}.header-actions{display:flex;gap:23px;align-items:center}.preview-tag{padding:7px 12px;border:1px solid #6f5b3e;border-radius:30px;font-size:12px;color:var(--gold)}.world-link{font-size:14px;color:#ded3e8;border-bottom:1px solid #6f607a;padding-bottom:3px}.world-link:hover{color:var(--gold)}.workspace{max-width:1370px;margin:0 auto;display:grid;grid-template-columns:340px minmax(0,1fr);gap:46px;padding:32px 38px 20px}.guide-rail{padding-top:21px}.eyebrow{font-size:11px;letter-spacing:1.9px;font-weight:650;color:var(--gold)}h1{font-family:var(--serif);font-size:46px;line-height:1.13;letter-spacing:-1.7px;font-weight:400;margin:20px 0 19px}h1 em{font-weight:400;color:var(--plum)}.rail-intro p{color:var(--muted);font-size:15px;line-height:1.8;margin:0}.rail-heading{margin:31px 0 13px;display:flex;align-items:center;justify-content:space-between;gap:8px}.rail-heading h2{font-size:14px;font-weight:600;margin:0}.rail-heading>span{font-size:12px;color:#a59bad}.topic-shortcuts{display:grid;gap:9px}.topic-shortcuts button{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid var(--line);border-radius:10px;padding:13px 11px;background:#1c1923;min-height:71px;transition:background .15s,border-color .15s}.topic-shortcuts button:hover{border-color:#87735b;background:#29212b}.topic-icon{width:35px;min-width:35px;height:35px;display:grid;place-items:center;border-radius:9px;background:#302839;color:var(--plum);font-size:23px}.topic-shortcuts b{font-size:14px;font-weight:550;display:block}.topic-shortcuts small{font-size:12px;color:var(--muted);display:block;margin-top:4px}.shortcut-plus{margin-left:auto;color:var(--gold);font-size:20px}.browse-topics{margin-top:20px;border-top:1px solid var(--line);padding-top:15px}.browse-topics summary{cursor:pointer;font-size:14px;min-height:30px;color:#ded3e7}.browse-topics summary span{font-size:12px;color:var(--muted);margin-left:6px}.browse-topics input{width:100%;background:#1c1924;border:1px solid #4a4055;border-radius:7px;padding:11px;margin:9px 0;color:var(--text);font-size:14px}.browse-topics input::placeholder{color:var(--muted)}#topic-list{max-height:240px;overflow:auto;scrollbar-width:thin}#topic-list button{display:block;text-align:left;background:none;padding:10px 3px;width:100%;border-bottom:1px solid #ffffff0b;font-size:14px;line-height:1.4;color:#cec3d9}#topic-list button:hover{color:var(--gold)}#topic-list p{font-size:14px;color:var(--muted)}.rail-note{display:flex;align-items:flex-start;gap:10px;margin-top:22px}.little-star{font-size:20px;color:var(--gold)}.rail-note p{margin:0;font-family:var(--serif);line-height:1.5;font-size:17px;color:#d9c8e5}.rail-note p span{font:12px/1.7 'Segoe UI',system-ui,sans-serif;display:inline-block;margin-top:5px;color:var(--muted)}.chat-room{min-width:0;display:flex;flex-direction:column;height:calc(100dvh - 180px);min-height:650px;max-height:900px;border:1px solid #4b4055;border-radius:19px;background:linear-gradient(145deg,#211b2a,#18171f 45%);box-shadow:0 18px 90px #0003;overflow:hidden}.chat-header{min-height:83px;padding:15px 22px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #ffffff0d;background:#211c2999}.assistant-identity{display:flex;align-items:center;gap:11px}.guide-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;border:1px solid #8d7251;background:#48382c;color:var(--gold);font-size:25px}.assistant-identity h2{font-size:17px;font-weight:550;margin:0 0 3px}.assistant-identity small{color:var(--muted);font-size:12px}.new-chat{background:none;border:1px solid #5b4e67;border-radius:7px;padding:9px 11px;font-size:13px;color:#d3c5df;min-height:40px}.new-chat span{margin-left:6px;color:var(--gold)}.new-chat:hover{background:#392b40}.messages{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:25px 25px 10px;scrollbar-width:thin}.welcome{text-align:center;max-width:530px;margin:25px auto 20px}.welcome-symbol{width:62px;height:62px;display:grid;place-items:center;margin:0 auto 24px;border:1px solid #6d577f;border-radius:19px;background:linear-gradient(140deg,#3c2e48,#251c2e);color:var(--plum);font-size:38px;box-shadow:0 0 45px #c2afd60b}.welcome .eyebrow{font-size:10px;letter-spacing:1.8px}.welcome h2{font-family:var(--serif);font-size:43px;line-height:1.13;letter-spacing:-1.3px;font-weight:400;margin:16px 0}.welcome h2 em{color:var(--plum);font-weight:400}.welcome p{font-size:15px;line-height:1.7;color:var(--muted);margin:0 auto 23px}.starter-questions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}.starter-questions button{background:#312638;border:1px solid #6b537b;border-radius:8px;color:#e4d5ec;font-size:13px;padding:11px 12px;min-height:43px}.starter-questions button:hover{border-color:var(--gold);background:#3e2f3c}.welcome-foot{font-size:12px;color:#a69aaf;margin-top:24px}.message{max-width:95%;margin-bottom:22px;animation:arrive .18s ease-out}.message-user{margin-left:auto;max-width:82%}.message-label{font-size:11px;letter-spacing:1px;color:var(--muted);margin:0 0 6px 2px}.message-user .message-label{text-align:right}.bubble{font-size:16px;line-height:1.7;overflow-wrap:anywhere;white-space:pre-wrap;padding:16px 18px;border:1px solid #4c4059;background:#27212f;border-radius:3px 14px 14px}.message-user .bubble{background:#433727;color:#f6e6cc;border:1px solid #755e3b;border-radius:14px 3px 14px 14px;padding:12px 17px}.answer-steps{font-size:15px;line-height:1.7;margin:12px 0 0;padding-left:23px;white-space:normal}.answer-steps li{padding-left:4px;margin:7px 0}.answer-text{margin:0}.answer-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.answer-links a{font-size:13px;line-height:1.4;padding:9px 12px;min-height:39px;background:#443529;border:1px solid #846542;color:#f2d69f;border-radius:7px}.answer-links a:hover{background:#5a4230}.answer-sources{margin:10px 2px 0;color:#a99bb3;font-size:11px;line-height:1.8}.answer-sources a{color:#c9b6da;text-decoration:underline;text-underline-offset:3px}.uncertain-note{font-size:12px;color:#e6c18a;margin:10px 0 0}.typing{display:flex;gap:9px;align-items:center;color:#c4b5d0;font-size:14px;min-height:45px}.typing span{letter-spacing:4px;color:var(--gold);animation:pulse 1.3s infinite}.composer-area{border-top:1px solid #ffffff10;padding:13px 20px 17px;background:#1c1822}.composer-area form{padding:6px;display:flex;gap:8px;align-items:flex-end;background:#2b2433;border:1px solid #756080;border-radius:12px}.composer-area form:focus-within{border-color:var(--gold)}textarea{resize:none;min-height:43px;max-height:115px;flex:1;min-width:0;border:0;outline:none;background:transparent;color:#f5eef8;font-size:16px;line-height:1.5;padding:10px 8px}textarea::placeholder{color:#b7a9c2}.composer-area form button{min-height:43px;background:var(--gold);color:#2d2114;border-radius:7px;padding:9px 15px;font-size:14px;font-weight:650}.composer-area form button span{margin-left:6px}.composer-area #stop{background:#463448;color:#f1e4f8;border:1px solid #8a6e96}.composer-caption{margin:10px 2px 0;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:10px;line-height:1.7;color:#a69aaa}.followups{display:flex;gap:7px;overflow:auto;scrollbar-width:thin}.followups:not(:empty){padding:0 1px 12px}.followups button{flex:0 0 auto;max-width:100%;background:#28222e;border:1px solid #51425e;color:#d7c6e2;padding:8px 10px;font-size:12px;min-height:36px;border-radius:7px;white-space:nowrap}.chat-error{padding:10px 2px;color:#f0c0b4;font-size:14px;line-height:1.5}.page-footer{max-width:1370px;padding:9px 38px 24px;margin:auto;display:flex;gap:20px;justify-content:space-between;color:#998d9f;font-size:10px;line-height:1.7}.page-footer>span:first-child{letter-spacing:1.4px}.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}@keyframes arrive{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{50%{opacity:.3}}@media(min-width:1450px){.workspace{padding-top:43px}.chat-room{height:calc(100dvh - 200px);max-height:960px}}@media(max-width:1100px){.workspace{grid-template-columns:280px minmax(0,1fr);gap:24px;padding-left:24px;padding-right:24px}.topbar{padding:0 24px}h1{font-size:39px}.rail-heading{display:block}.rail-heading>span{display:block;margin-top:6px}.topic-shortcuts button{gap:9px;padding:10px}.topic-icon{min-width:29px;width:29px;height:32px}.topic-shortcuts b{font-size:13px}.topic-shortcuts small{font-size:11px}.chat-header{padding-left:16px;padding-right:16px}.messages{padding:20px 18px 8px}.welcome h2{font-size:38px}.welcome{margin-top:20px}.composer-area{padding-left:14px;padding-right:14px}}@media(max-width:780px){.topbar{height:76px;padding:0 18px}.brand{gap:9px}.brand img{height:36px;width:36px}.brand strong{font-size:23px}.brand small{font-size:8px;letter-spacing:1.5px}.header-actions{gap:12px}.preview-tag{font-size:10px;padding:6px 8px}.world-link{font-size:12px}.workspace{display:block;padding:20px 14px 14px}.guide-rail{padding:0}.rail-intro{padding:1px 6px}.rail-intro .eyebrow{font-size:10px}h1{font-size:34px;line-height:1.1;margin:12px 0}h1 br{display:none}h1 em{margin-left:7px}.rail-intro p{font-size:14px;line-height:1.7}.rail-intro p br{display:none}.rail-heading,.rail-note,.browse-topics{display:none}.topic-shortcuts{display:flex;overflow:auto;gap:7px;margin:18px 0;scrollbar-width:thin;padding-bottom:3px}.topic-shortcuts button{min-height:43px;flex-shrink:0;padding:9px 12px;border-radius:8px;gap:7px}.topic-icon{font-size:18px;background:none;width:20px;min-width:20px;height:20px}.topic-shortcuts small,.shortcut-plus{display:none}.topic-shortcuts b{font-size:12px}.chat-room{height:calc(100dvh - 298px);min-height:540px;max-height:none;border-radius:13px}.chat-header{min-height:72px;padding:12px 14px}.guide-avatar{width:35px;height:35px;border-radius:10px;font-size:22px}.assistant-identity h2{font-size:16px}.assistant-identity small{font-size:11px}.new-chat{font-size:12px;padding:8px;min-height:38px}.welcome{margin-top:16px}.welcome-symbol{height:48px;width:48px;border-radius:14px;font-size:30px;margin-bottom:18px}.welcome h2{font-size:34px}.welcome p{font-size:14px}.welcome .eyebrow{font-size:9px}.starter-questions{gap:7px}.starter-questions button{font-size:12px;min-height:40px;padding:10px}.welcome-foot{margin-top:16px;font-size:11px}.messages{padding:17px 13px 7px}.message{max-width:100%}.message-user{max-width:90%}.bubble{padding:13px 14px;font-size:15px}.answer-steps{font-size:14px}.composer-area{padding:10px 10px 12px}.composer-area form button{padding:9px 12px}.composer-area form button span{display:none}.composer-caption{font-size:9px}.composer-caption #review-date{display:none}.page-footer{padding:5px 19px 20px;display:block;font-size:10px}.page-footer>span{display:block;margin-top:5px}.followups button{font-size:11px}}@media(max-width:390px){.preview-tag{display:none}.brand strong{font-size:21px}.world-link{font-size:11px}.chat-header{gap:7px}.new-chat span{display:none}.welcome h2{font-size:32px}.chat-room{min-height:555px}h1{font-size:30px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}

/* Readable controls and a compact phone conversation view. */
.chat-room{min-height:540px}.topic-shortcuts b,.starter-questions button,.new-chat,.answer-links a,.followups button{font-size:14px}.composer-caption,.page-footer{font-size:12px}.assistant-identity small{font-size:12px}.answer-sources{font-size:12px}.answer-links a{min-height:44px}
@media(max-width:1100px){.topic-shortcuts b{font-size:14px}}
@media(max-width:780px){.topic-shortcuts b,.starter-questions button,.new-chat,.followups button{font-size:14px}.composer-caption,.page-footer,.welcome-foot{font-size:12px}.chat-started .guide-rail,.chat-started .page-footer{display:none}.chat-started .workspace{padding-top:10px;padding-bottom:10px}.chat-started .chat-room{height:calc(var(--usable-height,100dvh) - 104px);min-height:230px}.chat-room{min-height:540px}}

/* The parent SkyyWorld page supplies its navigation and frame controls. */
body.embed-mode{background:#18171f;margin:0}body.embed-mode .topbar,body.embed-mode .page-footer{display:none}body.embed-mode .workspace{max-width:none;padding:0;gap:24px}body.embed-mode .chat-room{height:100dvh;min-height:0;max-height:none;border:0;border-radius:0}body.page-mode .guide-rail{padding:18px}body.widget-mode .guide-rail{display:none}body.widget-mode .workspace{display:block}body.widget-mode .chat-header{min-height:68px;padding:12px}body.widget-mode .welcome{margin-top:10px}body.widget-mode .welcome h2{font-size:33px}body.widget-mode .welcome-symbol{width:45px;height:45px;margin-bottom:15px}body.widget-mode .composer-caption #review-date{display:none}@media(max-width:780px){body.page-mode .guide-rail{display:none}body.embed-mode .workspace{display:block;padding:0}body.embed-mode .chat-room{height:var(--usable-height,100dvh);min-height:0}}
