:root {
  --ink: #f3f5f6;
  --muted: #9aa2a8;
  --faint: #646e75;
  --line: #272d32;
  --panel: #13171b;
  --panel-2: #181d22;
  --canvas: #0b0d10;
  --teal: #55e0c0;
  --teal-deep: #12352f;
  --peach: #ffb392;
  --red: #ff7d78;
  --shadow: 0 24px 90px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--canvas); }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: "DM Sans", system-ui, sans-serif; font-size: 16px; line-height: 1.45; overflow-x: hidden; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
a { color: inherit; }
.hidden { display: none !important; }
.app-shell { width: min(1380px, calc(100% - 48px)); margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; }
.topbar { height: 90px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,.06); }
.brand { display: inline-flex; gap: 11px; align-items: center; color: var(--ink); text-decoration: none; font-family: "Space Grotesk", sans-serif; font-weight: 700; letter-spacing: -.04em; font-size: 20px; }
.brand em { color: var(--teal); font-style: normal; font-weight: 500; }
.brand-mark { display: inline-flex; align-items: flex-end; gap: 3px; width: 23px; height: 23px; padding: 3px; border: 1px solid rgba(85,224,192,.65); border-radius: 7px; transform: rotate(-8deg); }
.brand-mark span { display: block; width: 4px; border-radius: 3px; background: var(--teal); }
.brand-mark span:nth-child(1) { height: 8px; opacity: .65; }.brand-mark span:nth-child(2) { height: 14px; }.brand-mark span:nth-child(3) { height: 10px; opacity: .8; }
.topbar-note { color: var(--muted); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.live-dot, .status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(85,224,192,.1); }
.main-content { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 28px; align-items: start; padding: 42px 0 34px; }
.chat-app { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 21px; box-shadow: var(--shadow); overflow: hidden; }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 30px 34px 26px; border-bottom: 1px solid rgba(255,255,255,.06); }
.eyebrow, .card-kicker { margin: 0 0 8px; color: var(--teal); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
h1, h2, p { margin-top: 0; }
h1, h2 { font-family: "Space Grotesk", sans-serif; letter-spacing: -.045em; }
h1 { margin-bottom: 0; font-size: clamp(1.5rem, 3vw, 2.05rem); line-height: 1.1; }
h2 { margin-bottom: 10px; font-size: 23px; line-height: 1.15; }
.session-chip { color: var(--muted); font-size: 12px; display: flex; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 99px; padding: 8px 12px; }
.notice-bar { margin: 18px 34px 0; display: flex; align-items: center; gap: 10px; color: #b6c0c3; background: #172321; border: 1px solid #23443c; padding: 10px 12px; border-radius: 10px; font-size: 12px; }
.notice-icon { color: var(--teal); font-size: 18px; line-height: 1; }.notice-bar span:nth-child(2) { flex: 1; }.icon-button { border: 0; background: transparent; color: var(--muted); font-size: 20px; padding: 0 2px; line-height: 1; }
.conversation { min-height: 420px; display: flex; flex-direction: column; justify-content: center; padding: 34px; }
.empty-state, .search-state { text-align: center; max-width: 440px; width: 100%; margin: auto; }
.empty-orbit { width: 80px; height: 80px; border-radius: 50%; border: 1px solid #32554e; background: radial-gradient(circle at 50% 45%, #1d3c36, transparent 65%); display: grid; place-items: center; margin: 0 auto 22px; color: var(--teal); font-size: 28px; box-shadow: 0 0 0 12px rgba(85,224,192,.035), 0 0 0 24px rgba(85,224,192,.018); }
.empty-state h2, .search-state h2 { margin-bottom: 8px; font-size: 22px; }.empty-state p, .search-state p { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.primary-button, .secondary-button, .send-button, .round-button, .quiet-button, .text-button { border: 0; transition: transform .18s ease, opacity .18s ease, border-color .18s ease, background .18s ease; }
.primary-button:hover, .secondary-button:hover, .send-button:hover { transform: translateY(-1px); }.primary-button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.primary-button { min-height: 48px; padding: 0 21px; display: inline-flex; align-items: center; justify-content: center; gap: 17px; border-radius: 10px; background: var(--teal); color: #09231d; font-weight: 700; }.primary-button span { font-size: 21px; line-height: 0; }.primary-button.large { min-width: 220px; }.primary-button.full { width: 100%; }
.mini-rules { display: flex; justify-content: center; gap: 16px; margin-top: 18px; color: var(--faint); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }.mini-rules span + span::before { content: "·"; margin-right: 16px; color: #475058; }
.search-pulse { width: 82px; height: 82px; margin: 0 auto 22px; border-radius: 50%; border: 1px solid #31534c; display: flex; gap: 6px; align-items: center; justify-content: center; }.search-pulse span { width: 7px; height: 7px; background: var(--teal); border-radius: 50%; animation: bounce 1.2s ease-in-out infinite; }.search-pulse span:nth-child(2) { animation-delay: .15s; }.search-pulse span:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 100% { transform: translateY(5px); opacity: .35; } 50% { transform: translateY(-5px); opacity: 1; } }
.text-button { background: transparent; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }.text-button:hover { color: var(--ink); }
.messages { width: 100%; align-self: stretch; display: flex; flex-direction: column; gap: 13px; min-height: 350px; max-height: 500px; overflow-y: auto; padding: 4px 4px 8px; }.messages::-webkit-scrollbar { width: 5px; }.messages::-webkit-scrollbar-thumb { background: #343c43; border-radius: 99px; }
.message-row { display: flex; gap: 9px; align-items: flex-end; max-width: 82%; }.message-row.mine { align-self: flex-end; flex-direction: row-reverse; }.avatar { width: 26px; height: 26px; border-radius: 8px; flex: 0 0 auto; display: grid; place-items: center; color: #08251f; background: var(--peach); font-weight: 700; font-size: 12px; }.mine .avatar { background: var(--teal); }.bubble { padding: 11px 14px; background: #20262c; border-radius: 14px 14px 14px 4px; color: #e7ebed; font-size: 15px; white-space: pre-wrap; word-break: break-word; }.mine .bubble { background: var(--teal-deep); border-radius: 14px 14px 4px 14px; color: #dffaf4; }.message-meta { color: var(--faint); font-size: 10px; margin-top: 5px; }.mine .message-meta { text-align: right; }.image-bubble { max-width: 245px; padding: 5px; cursor: pointer; }.image-bubble img { display: block; max-width: 235px; max-height: 250px; border-radius: 10px; filter: blur(16px); transition: filter .3s ease; }.image-bubble.revealed img { filter: none; }.image-caption { color: var(--muted); font-size: 11px; padding: 6px 5px 3px; }
.composer-area { border-top: 1px solid rgba(255,255,255,.06); padding: 16px 34px 12px; }.chat-toolbar { display: flex; justify-content: space-between; color: var(--faint); font-size: 11px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .08em; }.chat-toolbar span:first-child { color: var(--muted); display: flex; align-items: center; gap: 7px; }.composer { display: flex; align-items: center; gap: 10px; }.composer input[type="text"] { min-width: 0; flex: 1; height: 45px; border: 1px solid var(--line); background: #0e1114; color: var(--ink); border-radius: 10px; padding: 0 14px; font-size: 15px; }.composer input[type="text"]::placeholder { color: #68737a; }.round-button, .send-button { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 10px; display: grid; place-items: center; }.round-button { background: #22282e; color: var(--muted); font-size: 22px; }.round-button:hover { color: var(--ink); background: #2c343b; }.send-button { background: var(--teal); color: #09231d; font-size: 21px; font-weight: 700; }.composer-help { margin: 9px 0 0 52px; color: var(--faint); font-size: 11px; }.chat-actions { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.06); padding: 15px 34px 20px; }.secondary-button { background: transparent; border: 1px solid #3a454d; color: var(--ink); border-radius: 9px; padding: 10px 15px; font-size: 13px; }.secondary-button span { color: var(--teal); margin-left: 9px; }.safety-actions { display: flex; gap: 14px; }.quiet-button { background: transparent; color: var(--faint); font-size: 12px; }.quiet-button:hover { color: var(--ink); }.quiet-button.danger:hover { color: var(--red); }
.side-panel { display: flex; flex-direction: column; gap: 15px; }.side-card { border: 1px solid var(--line); border-radius: 18px; padding: 25px; background: var(--panel); }.accent-card { background: #141d1c; border-color: #28433e; }.side-card h2 { font-size: 21px; margin: 16px 0 9px; }.side-card p { color: var(--muted); font-size: 14px; line-height: 1.55; }.card-kicker { display: flex; gap: 8px; align-items: center; color: var(--teal); }.spark { font-size: 15px; }.steps { margin-top: 23px; display: flex; flex-direction: column; gap: 16px; }.step { display: grid; grid-template-columns: 32px 1fr; gap: 9px; align-items: start; }.step span { color: var(--peach); font-size: 11px; padding-top: 2px; }.step p { margin: 0; color: #c3cbcd; font-size: 13px; }.safety-card { background: #151619; }.shield { color: var(--peach); font-size: 20px; }.safety-card a { display: inline-flex; gap: 7px; color: var(--peach); font-size: 13px; text-decoration: none; }.safety-card a:hover { text-decoration: underline; text-underline-offset: 3px; }.footer { color: #596168; font-size: 11px; display: flex; justify-content: space-between; padding: 0 0 22px; }
.modal-backdrop { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 20px; background: rgba(4, 6, 8, .82); backdrop-filter: blur(10px); }.modal { position: relative; width: min(100%, 420px); border: 1px solid #354047; border-radius: 19px; background: #171c20; box-shadow: 0 30px 110px rgba(0,0,0,.6); padding: 33px; animation: modal-in .25s ease both; }.modal-logo { margin-bottom: 28px; }.modal h2 { font-size: 28px; margin-bottom: 12px; }.modal > p:not(.eyebrow):not(.modal-footnote) { color: var(--muted); font-size: 15px; margin-bottom: 24px; }.check-row { display: flex; gap: 11px; align-items: center; color: #d5dadd; font-size: 14px; cursor: pointer; margin-bottom: 23px; }.check-row input { position: absolute; opacity: 0; }.fake-check { width: 19px; height: 19px; border: 1px solid #53616a; border-radius: 5px; flex: 0 0 auto; display: grid; place-items: center; }.check-row input:checked + .fake-check { background: var(--teal); border-color: var(--teal); }.check-row input:checked + .fake-check::after { content: "✓"; color: #09231d; font-size: 14px; font-weight: 700; }.modal-footnote { color: var(--faint); font-size: 11px; text-align: center; margin: 16px 0 0; }.ad-modal { text-align: center; }.ad-label { color: var(--faint); font-size: 10px; letter-spacing: .12em; margin-bottom: 12px; }.ad-placeholder { min-height: 145px; border: 1px dashed #3a464c; border-radius: 13px; display: grid; place-items: center; align-content: center; gap: 6px; margin-bottom: 22px; background: #101417; }.ad-orb { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: #203b36; color: var(--teal); font-family: "Space Grotesk"; font-weight: 700; }.ad-placeholder p { color: #bdc5c8; font-size: 14px; margin: 3px 0 0; }.ad-placeholder small { color: var(--faint); font-size: 11px; max-width: 240px; }.ad-modal h2 { font-size: 25px; }.ad-modal > p { margin-bottom: 18px !important; }.ad-progress { height: 4px; background: #2b3338; border-radius: 99px; margin-bottom: 18px; overflow: hidden; }.ad-progress span { display: block; width: 0; height: 100%; background: var(--teal); transition: width 1s linear; }.small-modal { width: min(100%, 400px); }.modal-close { position: absolute; top: 16px; right: 18px; background: transparent; color: var(--muted); border: 0; font-size: 23px; }.report-options { display: flex; flex-direction: column; gap: 8px; }.report-options button { background: #20262b; border: 1px solid #2c363c; color: #d7dddf; border-radius: 9px; text-align: left; display: flex; justify-content: space-between; padding: 13px 14px; }.report-options button:hover { border-color: var(--peach); color: var(--peach); }.report-options span { color: var(--faint); }.toast { position: fixed; z-index: 30; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; color: #08231d; background: var(--teal); padding: 11px 16px; border-radius: 9px; font-size: 13px; box-shadow: 0 10px 28px rgba(0,0,0,.3); transition: opacity .2s ease, transform .2s ease; }.toast.show { opacity: 1; transform: translate(-50%, 0); }.adsbygoogle { width: 100%; min-height: 120px; }.ad-placeholder .ad-orb { margin-bottom: 2px; }
@keyframes modal-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .main-content { grid-template-columns: 1fr; }.side-panel { display: grid; grid-template-columns: 1fr 1fr; }.conversation { min-height: 390px; } }
@media (max-width: 620px) { .app-shell { width: min(100% - 24px, 1380px); }.topbar { height: 72px; }.topbar-note { font-size: 11px; }.main-content { padding-top: 18px; gap: 15px; }.chat-head { padding: 22px 18px 19px; align-items: flex-start; gap: 12px; }.chat-head h1 { max-width: 220px; font-size: 1.45rem; }.session-chip { font-size: 0; padding: 9px; }.session-chip .status-dot { margin: 0; }.notice-bar { margin: 13px 18px 0; font-size: 11px; }.conversation { min-height: clamp(360px, calc(100svh - 350px), 500px); padding: 25px 18px; }.messages { max-height: 440px; }.message-row { max-width: 92%; }.composer-area { padding: 14px 18px 10px; }.chat-actions { padding: 13px 18px 17px; }.side-panel { display: flex; }.side-card { padding: 21px; }.footer { flex-direction: column; gap: 5px; padding: 0 2px 18px; }.modal { padding: 27px 22px; }.modal h2 { font-size: 25px; }.mini-rules { gap: 8px; font-size: 10px; }.mini-rules span + span::before { margin-right: 8px; }.ad-placeholder { min-height: 128px; }.composer input[type="text"] { font-size: 16px; } }
@media (max-width: 420px) { .topbar-note { display: none; }.brand { font-size: 19px; }.chat-head { padding-inline: 15px; }.notice-bar { margin-inline: 15px; }.conversation { padding-inline: 15px; }.composer-area, .chat-actions { padding-inline: 15px; }.safety-actions { gap: 8px; }.quiet-button { padding: 7px 0; } }
