:root{font-family:Inter,system-ui,-apple-system,sans-serif;color:#e9edf5;background:#0c111c}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer;border:0;border-radius:9px;padding:10px 13px;background:#377ee8;color:#fff}button:disabled{opacity:.45}button:hover:not(:disabled){filter:brightness(1.13)}.brand{font-size:23px;font-weight:800;letter-spacing:.2px;color:#8bb5ff}.layout{display:grid;grid-template-columns:285px 1fr;min-height:100vh}aside{background:#141d2d;border-right:1px solid #2a3549;padding:24px 16px}aside h3{color:#a7b5ce;font-size:12px;text-transform:uppercase;letter-spacing:.1em;margin:25px 0 10px}aside nav{display:grid;gap:6px;margin-top:10px}.account{font-size:12px;color:#c2cee1;overflow-wrap:anywhere;margin-top:20px}.quiet{background:transparent;border:1px solid #364760;color:#cbd7eb}.account .quiet{display:block;margin-top:10px}.nav{display:flex;justify-content:space-between;align-items:center;text-align:left;background:transparent;color:#d4e0f2;width:100%;gap:8px}.nav small{font-size:10px;color:#9daec8}.nav.selected{background:#284a78}main{display:flex;flex-direction:column;min-width:0}header{display:flex;align-items:center;justify-content:space-between;padding:20px 28px;border-bottom:1px solid #2a3549}header h1{font-size:20px;margin:0}header p{margin:5px 0 0;color:#9daec8;font-size:13px}.messages{flex:1;overflow:auto;padding:25px;display:flex;flex-direction:column;gap:13px}.bubble{max-width:75%;background:#1a293e;border:1px solid #2b3c55;border-radius:13px;padding:12px 15px;align-self:flex-start;overflow-wrap:anywhere}.bubble.mine{align-self:flex-end;background:#244d82}.bubble small{font-size:11px;color:#b8c6d9}.bubble p{white-space:pre-wrap;margin:8px 0 0;line-height:1.5}.composer{display:flex;gap:10px;padding:16px 25px;border-top:1px solid #2a3549}.composer textarea{flex:1;resize:vertical}.composer textarea,.auth input{background:#192638;border:1px solid #3b4b62;color:#fff;border-radius:9px;padding:12px}.placeholder{color:#95a5be}.error{color:#ff9d9d;padding:12px}.auth{max-width:440px;margin:12vh auto;padding:35px;background:#141d2d;border-radius:15px}.auth h1{margin-bottom:5px}.auth p{color:#afbed4}.auth form{display:grid;gap:18px;margin-top:24px}.auth label{display:grid;gap:7px;color:#d4dfef}.auth input{width:100%}@media(max-width:700px){.layout{grid-template-columns:1fr}aside{border-right:0;border-bottom:1px solid #2a3549}aside nav{display:flex;overflow-x:auto}aside .nav{min-width:135px}header{padding:15px}.messages{min-height:45vh;padding:15px}.composer{padding:12px}.bubble{max-width:95%}}.layout{height:100dvh;min-height:0}.layout aside{overflow-y:auto}.layout main{height:100dvh;min-height:0}.messages{min-height:0;overscroll-behavior:contain}.bubble{max-width:min(78%,74ch)}.composer{border-top:0;border-bottom:1px solid #2a3549}.history-label{padding:12px 25px 0;font-size:12px;color:#a7b5ce}.header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.danger{background:#a52c49;color:#fff}.danger.quiet{background:transparent;color:#ffb6c4;border-color:#8f465b}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #92baff;outline-offset:3px}button:hover:not(:disabled){filter:brightness(1.05)}button:disabled{cursor:not-allowed}dialog{width:min(460px,calc(100% - 32px));border:1px solid #364760;border-radius:16px;padding:28px;background:#141d2d;color:#e9edf5;box-shadow:0 24px 90px #0006}dialog::backdrop{background:#11182780}dialog h2{font-size:21px;margin:0 0 14px}dialog p{font-size:14px;line-height:1.65}.delete-name{font-weight:700;overflow-wrap:anywhere}.dialog-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:24px}#delete-feedback{color:#ffb6c4}[data-theme=winkyhouse]{--wh-paper:#fff7fa;--wh-panel:#f9e7ee;--wh-line:#e6bfce;--wh-ink:#422a36;--wh-muted:#775463;--wh-accent:#8e3458;background:var(--wh-paper);color:var(--wh-ink)}.layout[data-theme=winkyhouse] aside{background:var(--wh-panel);border-color:var(--wh-line)}[data-theme=winkyhouse] .brand{color:#7d2c4e}[data-theme=winkyhouse] aside h3{color:var(--wh-muted);text-transform:none;letter-spacing:0;font-size:13px}[data-theme=winkyhouse] .account,[data-theme=winkyhouse] header p,[data-theme=winkyhouse] .history-label,[data-theme=winkyhouse] .placeholder{color:var(--wh-muted)}[data-theme=winkyhouse] header,[data-theme=winkyhouse] .composer{border-color:var(--wh-line)}[data-theme=winkyhouse] button{background:var(--wh-accent);color:#fff}[data-theme=winkyhouse] .quiet{background:transparent;border-color:#c995aa;color:#74334e}[data-theme=winkyhouse] .nav{background:transparent;color:var(--wh-ink)}[data-theme=winkyhouse] .nav small{color:var(--wh-muted)}[data-theme=winkyhouse] .nav.selected{background:#edcad8;color:#57253b}[data-theme=winkyhouse] .bubble{background:#fff;border-color:#e9cbd6;box-shadow:0 2px 8px #74334e06}[data-theme=winkyhouse] .bubble.mine{background:#f2d3e0;border-color:#e1b4c7}[data-theme=winkyhouse] .bubble small{color:#795466}[data-theme=winkyhouse] .composer textarea{background:#fff;border-color:#c995aa;color:var(--wh-ink)}[data-theme=winkyhouse] .composer textarea::placeholder{color:#896a78}[data-theme=winkyhouse] .error,[data-theme=winkyhouse] #delete-feedback{color:#9d2546}[data-theme=winkyhouse] .danger{background:#a42d50;color:#fff}[data-theme=winkyhouse] .danger.quiet{background:transparent;color:#912342;border-color:#c68b9b}[data-theme=winkyhouse] :focus-visible{outline-color:#9c4a70}dialog[data-theme=winkyhouse]{border-color:#d7a6ba}@media(max-width:700px){.layout{height:auto;min-height:100dvh}.layout aside{max-height:38dvh}.layout main{height:80dvh;min-height:480px}.messages{min-height:0}.header-actions{gap:6px}header{gap:12px;flex-wrap:wrap}.history-label{padding-left:15px}.bubble{max-width:95%}.composer{align-items:flex-end}.composer textarea{min-width:0}.dialog-actions button{flex:1}}.creation-title{display:grid;gap:8px}.creation-title input{width:100%;padding:12px;border:1px solid #67768a;border-radius:8px;background:transparent;color:inherit}.visibility-choice{border:0;padding:0;display:grid;gap:10px;margin:16px 0}.visibility-choice legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.visibility-choice label{display:block;border:1px solid #67768a;border-radius:10px;padding:14px;cursor:pointer}.visibility-choice label:has(input:checked){border-color:#8bb5ff;background:#244d8230}.visibility-choice span{display:block;font-size:13px;margin:6px 0 0 24px}.visibility-choice input{accent-color:#377ee8}[data-theme=winkyhouse] .visibility-choice label:has(input:checked){border-color:#8e3458;background:#f2d3e0}[data-theme=winkyhouse] .visibility-choice input{accent-color:#8e3458}
