:root{--accent:#f5b800;--accent-2:#f4d674;--accent-dark:#b98300;--accent-soft:#fef8e8;--text:#483e25;--muted:#a49c87;--line:#f3f0e7;--glass:#ffffffed;--glass-strong:#fffffffa;--bubble-in:#fff;--bubble-out:#fdf6e2;--sg-purple:#f5b800;--sg-purple-soft:#fef8e8;--sg-line:#f3f0e7;--shadow:0 16px 50px #5f4f260b}
body{font-family:Roboto,"Segoe UI",system-ui,sans-serif;background:#fbf9f4;color:var(--text)}
.bg-blobs{display:none}
button:focus-visible,a:focus-visible{outline-color:var(--accent)}
::selection{background:#fff1c9}
#sgSplash{background:#fcfaf4;color:var(--text)}
#sgSplash img,.auth-logo,.welcome-logo{filter:none}
.btn.primary,.btn.gold,.fab,.send-btn{background:#f5b800;color:white;box-shadow:0 5px 16px #f5b80026}
.btn.primary:hover,.btn.gold:hover,.fab:hover,.send-btn:hover{background:#dca300;filter:none}
.btn.primary{border-radius:13px;padding:16px;font-size:14px;font-weight:750}
.icon-btn,.back-btn{color:#9b937c}
.icon-btn:hover,.back-btn:hover{background:#fcf7ea}
.auth-screen{display:flex;flex-direction:column;overflow:auto;padding:0 5vw;position:fixed;background:radial-gradient(ellipse at 8% 65%,#fdf8e9 0,transparent 55%),#f7f9fc;align-items:stretch;justify-content:flex-start}
.entry-header{width:100%;max-width:1260px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:32px 0;flex-shrink:0}
.wordmark{display:inline-flex;align-items:center;gap:10px;color:#504527;text-decoration:none;font-size:23px;font-weight:800;letter-spacing:-.8px}
.wordmark img{width:36px;height:36px}.wordmark>span,.web-label{color:#ada48a;font-size:10px;font-weight:700;letter-spacing:1.5px;background:#f6f2e9;padding:4px 7px;border-radius:5px;margin-left:4px}
.entry-caption{font-size:12px;color:#aaa28d}
.entry-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:8%;max-width:1100px;width:100%;margin:auto;align-items:center;padding:30px 0 40px}
.entry-story{padding:5px 0}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:800;color:#a5976e;display:flex;align-items:center;gap:8px}.eyebrow>span{width:6px;height:6px;border-radius:50%;background:#f5b800}
.entry-story h2{font-size:clamp(38px,4.3vw,62px);line-height:1.15;font-weight:800;letter-spacing:-2.7px;margin:23px 0 19px;color:#504526}.entry-story h2 em{font-style:normal;color:#f5b800}
.story-copy{font-size:14px;line-height:1.9;color:#9f957c;max-width:390px}
.conversation-preview{margin-top:30px;max-width:426px;background:white;border:1px solid #f3eee1;border-radius:19px;overflow:hidden;box-shadow:0 18px 48px #9c8a5312;transform:rotate(-1.5deg)}
.preview-header{display:flex;align-items:center;gap:10px;padding:15px 18px;border-bottom:1px solid #f7f4ed}.preview-avatar{display:grid;place-items:center;width:38px;height:38px;background:#faf1d5;color:#bba348;font-weight:750;border-radius:50%}.preview-header b{font-size:12px}.preview-header small{display:block;color:#f5b800;font-size:10px;margin-top:3px}.preview-header small i{display:inline-block;width:4px;height:4px;border-radius:50%;background:#f5b800;vertical-align:middle}.preview-label{font-size:8px;letter-spacing:1.4px;color:#b9b29c;margin-left:auto}
.preview-body{padding:15px 20px 12px;background-color:#f9f6ed;background-image:radial-gradient(#efead8 1px,transparent 1px);background-size:18px 18px;display:flex;flex-direction:column;gap:10px}.preview-day{align-self:center;background:#efebdcb0;color:#a69d7f;font-size:9px;border-radius:10px;padding:3px 9px;margin-bottom:3px}.preview-bubble{padding:10px 12px 6px;font-size:11px;line-height:1.7;background:white;border-radius:11px 11px 11px 3px;align-self:flex-start;max-width:90%;box-shadow:0 1px 2px #9c8a5309}.preview-bubble time{display:block;text-align:right;font-size:8px;color:#b4ad99;line-height:1.4}.preview-bubble.outgoing{background:#fff5d9;border-radius:11px 11px 3px 11px;align-self:flex-end}.outgoing time span{color:#f5b800}.preview-typing{display:flex;gap:3px;align-items:center;padding:4px 0}.preview-typing i{width:4px;height:4px;border-radius:50%;background:#dfc365;animation:typing 1.4s infinite}.preview-typing i:nth-child(2){animation-delay:.15s}.preview-typing i:nth-child(3){animation-delay:.3s}.preview-typing span{font-size:9px;color:#aba28b;margin-left:4px}.preview-bottom{padding:13px 18px;display:flex;align-items:center;justify-content:space-between;color:#b9b19a;font-size:11px}.story-features{display:flex;gap:18px;margin-top:24px;color:#aba38c;font-size:10px}.story-features span:before{content:'✓';color:#f5b800;margin-right:5px}
.auth-card{width:100%;max-width:410px;height:520px;border-radius:23px;background:white;border:1px solid #f4f1e8;box-shadow:0 20px 60px #7b6a3908;justify-self:end}.step{padding:38px 32px}.auth-logo{width:76px;height:76px;margin:16px 0 26px}.auth-kicker{font-size:9px;font-weight:800;letter-spacing:1.7px;color:#b5ad99;margin-bottom:12px}.step h1{font-size:24px;letter-spacing:-.8px;font-weight:800}.auth-sub{font-size:12px;line-height:1.9;color:#a9a18c;margin:8px 0 28px}.field input{border:1px solid #eeeadd;background:white;border-radius:12px;padding-top:22px;padding-bottom:12px}.field span{font-size:13px;top:18px}.field input:focus{border-color:#f5b800;box-shadow:0 0 0 3px #f5b80012}.field input:focus+span,.field input:not(:placeholder-shown)+span{color:#f5b800}.auth-err{font-size:12px}.entry-footer{font-size:10px;color:#b7af9b;max-width:1260px;width:100%;margin:0 auto;padding:22px 0;display:flex;justify-content:space-between;flex-shrink:0}
.sidebar,.side-top,.main,.chat-header,.composer{background-color:white}.sidebar{width:355px;border-right:1px solid #f3f0e7;box-shadow:none}.sidebar-brand{display:flex;align-items:center;justify-content:space-between;padding:22px 24px 14px}.sidebar-brand .wordmark{font-size:21px}.sidebar-brand img{width:30px;height:30px}.side-top{padding:4px 16px 12px}.search-wrap{background:#f1f4f7;border-radius:12px}.search-wrap:focus-within{border-color:#fae9b6;box-shadow:0 0 0 3px #f5b8000c}.chat-filters{display:flex;padding:0 15px;border-bottom:1px solid #f5f3ed;gap:14px;flex-shrink:0}.chat-filters button{position:relative;padding:15px 2px;font-size:11px;font-weight:750;white-space:nowrap;color:#aea795}.chat-filters button.selected{color:#f5b800}.chat-filters button.selected:after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;border-radius:4px 4px 0 0;background:#f5b800}.chat-item{border-radius:12px;padding:12px 9px;margin:3px 0;min-height:76px}.chat-item.active{background:#f5b800;border-color:transparent;box-shadow:none}.chat-item.active .ci-title,.chat-item.active .ci-last,.chat-item.active .ci-time,.chat-item.active .ci-last b,.chat-item.active .verified{color:white}.chat-item.active .badge{background:white;color:#f5b800}.chat-item .ci-title{font-size:13px}.chat-item .ci-last{font-size:12px;color:#a9a18c}.badge{background:#f5b800;box-shadow:none}.main{background:#f7f4ea}.chat-header,#mainPane .chat-header{height:70px;background:white;box-shadow:none}.chat-bg{background:none}.chat-bg-dots{inset:70px 0 0;background-image:radial-gradient(#d6cba626 1.2px,transparent 1.4px);opacity:1;background-size:24px 24px}.welcome{max-width:450px;padding:24px}.welcome-logo{width:95px;filter:none}.welcome p{background:#ffffffb5;color:#a49a79;padding:12px 20px;font-size:13px;line-height:1.6}.bubble{box-shadow:0 2px 3px #7f714509;border-radius:15px}.day-sep{color:#a59b7a;background:#f2eddcd9}.composer{background:transparent;padding-bottom:max(20px,env(safe-area-inset-bottom))}.input-wrap{background:white;box-shadow:0 4px 14px #72633408;border:1px solid #f2eee0;border-radius:16px;min-width:0}.emoji-toggle{margin:3px 0 3px 4px}#msgInput{min-width:0;padding-left:5px}#msgInput::placeholder{color:#bbb4a1}.send-btn{border-radius:15px}.chat-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:60px 25px;gap:12px;color:#bcb39a}.chat-empty b{color:#998e6e;font-size:14px}.chat-empty p{font-size:12px;line-height:1.8}.pop-item svg{color:#b3a473}.pop-item:hover{background:#fdf9ed}.emoji-picker{position:absolute;bottom:85px;left:max(14px,calc((100% - 760px)/2));z-index:10;width:min(290px,calc(100% - 28px));padding:16px;background:white;border:1px solid var(--line);border-radius:18px;box-shadow:0 10px 40px #6c5b2b20}.emoji-picker header{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#a59a7b;margin-bottom:10px}.emoji-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:3px}.emoji-grid button{font-size:24px;padding:6px;border-radius:9px}.emoji-grid button:hover{background:#fef8e8}.toast{background:#5a4e2d;color:white}
@keyframes typing{0%,60%,100%{opacity:.4;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
@media(min-width:1500px){.entry-layout{max-width:1180px;gap:12%}.conversation-preview{max-width:450px}}
@media(max-width:900px){.entry-layout{gap:5%}.entry-story h2{font-size:43px}.story-features{gap:10px;font-size:9px}.step{padding:30px 24px}.entry-caption{display:none}}
@media(max-width:800px){.sidebar{width:100%;min-width:0}.sidebar-brand{padding-top:16px}.chat-header,#mainPane .chat-header{height:62px}.chat-bg-dots{inset:62px 0 0}.composer{padding-bottom:max(12px,env(safe-area-inset-bottom))}}
@media(max-width:680px){.auth-screen{padding:0 22px}.entry-header{padding:22px 0}.wordmark{font-size:21px}.entry-layout{display:block;padding:20px 0;margin:auto}.entry-story{display:none}.auth-card{max-width:410px;margin:auto;height:530px}.entry-footer span{display:none}.entry-footer{justify-content:center}.step{padding:36px 26px}.auth-logo{width:84px;height:84px}}
@media(prefers-reduced-motion:reduce){.preview-typing i{animation:none}.conversation-preview{transform:none}}
.send-btn.on{background:#f5b800;box-shadow:0 5px 16px #f5b80026}
.send-btn.on:hover{background:#dca300}
#sgSplash img{filter:none}
