*{margin:0;padding:0;box-sizing:border-box}
html,body{height:100%;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;background:#FDE8EF;color:#1a1a1a;-webkit-tap-highlight-color:transparent}

#page{display:flex;flex-direction:column;height:100%;max-width:640px;margin:0 auto}

/* HEADER */
.hdr{padding:1.25rem 1.25rem .75rem;flex-shrink:0}
.hdr-title{font-size:1rem;font-weight:800;letter-spacing:.02em;text-transform:uppercase;cursor:pointer;display:inline-flex;align-items:center;gap:.4rem;-webkit-tap-highlight-color:rgba(0,0,0,.06)}
.hdr-title:active{opacity:.6}
.hdr-tap{font-size:.55rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:rgba(0,0,0,.3);border:1px solid rgba(0,0,0,.2);padding:.15rem .4rem}
.hdr-sos{font-size:.55rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#fff;background:#c0392b;border:1px solid #a93226;padding:.15rem .4rem;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,.06)}
.hdr-sos:active{background:#922b21}
.hdr-line{border:none;border-top:2px solid #1a1a1a;margin-top:.5rem}
.hdr-41{font-size:1.3rem;letter-spacing:-.02em}
.hdr-road{margin-top:.5rem;height:6px;background:#1a1a1a;position:relative;overflow:hidden}
.hdr-road::after{content:'';position:absolute;top:50%;left:0;right:0;height:2px;transform:translateY(-50%);background:repeating-linear-gradient(90deg,#FDE8EF 0,#FDE8EF 12px,transparent 12px,transparent 24px)}

/* MANIFESTO PANEL */
.manifesto{position:fixed;inset:0;background:#1a1a1a;color:#FDE8EF;display:none;flex-direction:column;max-width:640px;margin:0 auto;overflow-y:auto;z-index:200;-webkit-overflow-scrolling:touch}
.manifesto.open{display:flex}
.manifesto-close{padding:1.25rem 1.25rem .5rem;display:flex;justify-content:flex-end;flex-shrink:0}
.manifesto-close button{background:none;border:1px solid rgba(255,255,255,.3);color:#FDE8EF;font-family:inherit;font-size:.65rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:.35rem .8rem;cursor:pointer}
.manifesto-body{padding:0 1.5rem 2.5rem;flex:1}
.manifesto-label{font-size:.55rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.3);margin-bottom:1rem}
.manifesto-title{font-size:1.4rem;font-weight:800;letter-spacing:-.01em;margin-bottom:1.5rem;line-height:1.2}
.manifesto-text{font-size:.88rem;font-weight:500;line-height:1.85;color:rgba(255,255,255,.85)}
.manifesto-text p{margin-bottom:1.1rem}
.manifesto-text strong{color:#FDE8EF;font-weight:800}
.manifesto-divider{border:none;border-top:1px solid rgba(255,255,255,.1);margin:1.5rem 0}
.manifesto-stat{display:flex;align-items:baseline;gap:.5rem;margin-bottom:.75rem}
.manifesto-stat-num{font-size:1.6rem;font-weight:800;letter-spacing:-.02em;color:#FDE8EF}
.manifesto-stat-label{font-size:.75rem;font-weight:600;color:rgba(255,255,255,.5);line-height:1.4}
.manifesto-hashtag{margin-top:2rem;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,.15);font-size:.95rem;font-weight:800;letter-spacing:.02em;color:#FDE8EF}
.manifesto-sub{font-size:.65rem;font-weight:600;letter-spacing:.04em;color:rgba(255,255,255,.3);margin-top:.3rem}
.manifesto-links{margin-top:1.5rem;display:flex;flex-wrap:wrap;gap:.5rem}
.manifesto-links a{display:inline-block;font-size:.65rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#FDE8EF;border:1px solid rgba(255,255,255,.25);padding:.35rem .75rem;text-decoration:none;transition:background .15s}
.manifesto-links a:active{background:rgba(255,255,255,.15)}

/* FEED */
.feed{flex:1;overflow-y:auto;padding:1rem 1.25rem;-webkit-overflow-scrolling:touch}

/* DISPATCH */
.dispatch{margin-bottom:1.5rem;animation:fadeIn .3s ease}
.dispatch-text{font-size:1rem;font-weight:700;line-height:1.7;white-space:pre-wrap;word-wrap:break-word}
.dispatch-footer{display:flex;align-items:center;gap:1rem;margin-top:.5rem;padding-top:.5rem;border-top:1px solid rgba(0,0,0,.15)}
.dispatch-share{background:none;border:1px solid #1a1a1a;color:#1a1a1a;font-family:inherit;font-size:.65rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;padding:.3rem .75rem;cursor:pointer;transition:background .15s}
.dispatch-share:active{background:#1a1a1a;color:#FDE8EF}
.dispatch-time{font-size:.6rem;color:rgba(0,0,0,.35)}

/* USER INPUT DISPLAY */
.user-msg{margin-bottom:1rem;text-align:right;animation:fadeIn .2s ease}
.user-msg-text{display:inline-block;font-size:.9rem;font-weight:600;color:rgba(0,0,0,.45);font-style:italic;border-bottom:1px solid rgba(0,0,0,.15);padding-bottom:.25rem}

/* LOADING */
.loading{margin-bottom:1rem;animation:fadeIn .2s ease}
.loading-text{font-size:.9rem;font-weight:600;color:rgba(0,0,0,.35);font-style:italic}
.loading-cursor{display:inline-block;width:8px;height:16px;background:#1a1a1a;margin-left:2px;animation:blink .8s step-end infinite}
.ad-slot{height:1px}

/* CHIPS */
.chips{display:flex;gap:.5rem;padding:.5rem 1.25rem;overflow-x:auto;flex-shrink:0;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{white-space:nowrap;background:#fff;border:1px solid rgba(0,0,0,.15);font-family:inherit;font-size:.75rem;font-weight:700;padding:.4rem .75rem;cursor:pointer;flex-shrink:0;transition:background .15s;border-radius:2px}
.chip:active{background:#1a1a1a;color:#FDE8EF}

/* INPUT BAR */
.input-bar{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.25rem;padding-bottom:calc(.75rem + env(safe-area-inset-bottom,0px));border-top:2px solid #1a1a1a;flex-shrink:0;background:#FDE8EF}
.input-bar input{flex:1;background:none;border:none;border-bottom:1px solid rgba(0,0,0,.2);font-family:inherit;font-size:1rem;font-weight:600;padding:.4rem 0;color:#1a1a1a;outline:none}
.input-bar input::placeholder{color:rgba(0,0,0,.25)}
.input-bar input:focus{border-bottom-color:#1a1a1a}
.input-bar button{width:36px;height:36px;border-radius:0;border:1px solid #1a1a1a;background:#FDE8EF;color:#1a1a1a;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:1rem;flex-shrink:0;font-family:inherit;font-weight:700;transition:background .15s}
.input-bar button:active{background:#1a1a1a;color:#FDE8EF}
.btn-send{background:#1a1a1a;color:#FDE8EF;font-size:1.1rem}
.btn-send:active{background:#FDE8EF;color:#1a1a1a}
.btn-mic.recording{background:#1a1a1a;color:#FDE8EF}

/* TOAST */
.toast{position:fixed;bottom:4.5rem;left:50%;transform:translateX(-50%);background:#1a1a1a;color:#FDE8EF;font-family:inherit;font-size:.75rem;font-weight:700;letter-spacing:.03em;padding:.4rem 1rem;opacity:0;transition:opacity .3s;pointer-events:none;z-index:100}
.toast.show{opacity:1}

/* BOTTOM TAGLINE */
.tagline{text-align:center;padding:.4rem;font-size:.6rem;color:rgba(0,0,0,.35);letter-spacing:.05em;text-transform:uppercase;font-weight:700;flex-shrink:0;cursor:pointer}
.tagline:active{opacity:.6}

/* LANDING PAGE HERO */
.lp-hero{padding:1.25rem 1.25rem 0;flex-shrink:0}
.lp-hero h1{font-size:1.1rem;font-weight:800;line-height:1.5;margin-bottom:.5rem}
.lp-hero .lp-sub{font-size:.75rem;font-weight:500;color:rgba(0,0,0,.55);line-height:1.6;margin-bottom:.5rem}
.lp-hero .lp-cta{font-size:.7rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:rgba(0,0,0,.3)}

@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes blink{0%,100%{opacity:1}50%{opacity:0}}
