:root{font-family:Arial,Helvetica,sans-serif;color:#202123;background:#fff}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}main{display:flex;flex-direction:column;min-height:100dvh}header{position:sticky;top:0;background:#fffffff5;display:flex;justify-content:space-between;align-items:center;padding:22px 30px;font-size:18px;color:#555;z-index:1}#turns{font-size:12px;color:#888}.thread{width:100%;max-width:800px;margin:0 auto;padding:24px 30px 36px;flex:1;display:flex;flex-direction:column}#conversation:has(.welcome){flex:1;display:flex;align-items:center;justify-content:center}.welcome{text-align:center;padding-bottom:70px}.welcome b{display:block;font-size:30px;font-weight:500;letter-spacing:-.8px;margin-bottom:16px}.welcome span{display:block;max-width:400px;font-size:14px;line-height:1.8;color:#888}.entry{margin:0 0 30px;display:flex;flex-direction:column;gap:22px}.guess{align-self:flex-end;background:#f4f4f4;border-radius:24px;padding:12px 20px;font-size:16px}.reply{font-size:16px;line-height:1.8;padding:0 4px;white-space:pre-wrap}.finish{font-size:16px;line-height:1.8;padding:0 4px 16px}.composer-area{position:sticky;bottom:0;background:#fff;width:100%;max-width:800px;margin:0 auto;padding:12px 30px 26px}form{display:flex;align-items:center;gap:12px;border:1px solid #e9e9e9;border-radius:30px;padding:10px 12px 10px 22px;background:#f4f4f4;box-shadow:0 2px 8px #00000006}#word{flex:1;min-width:0;border:0;outline:0;background:none;padding:10px 0;font-size:16px;color:#222}#word::placeholder{color:#777}form:focus-within{border-color:#d3d3d3}form button{display:grid;place-items:center;cursor:pointer;width:36px;height:36px;flex-shrink:0;border:0;border-radius:50%;background:#222;color:white}button:disabled{background:#d9d9d9;color:#fff;cursor:default}button:focus-visible{outline:2px solid #888;outline-offset:4px}.thinking-shimmer{display:inline-block;color:#777;background:linear-gradient(110deg,#777 30%,#c4c4c4 45%,#777 60%);background-size:250% 100%;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:thinking-shimmer 1.8s linear infinite}#error{font-size:12px;color:#a33;text-align:center;margin:10px 0 0}#error:empty{display:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@keyframes thinking-shimmer{from{background-position:100% 0}to{background-position:-100% 0}}@media(prefers-reduced-motion:reduce){.thinking-shimmer{animation:none;background:none;-webkit-text-fill-color:currentColor}}@media(max-width:480px){header{padding:20px 18px}.thread{padding:20px 18px}.composer-area{padding:12px 18px 20px}.welcome{padding-bottom:36px}.welcome b{font-size:26px}.welcome span{font-size:13px}}
.help-button{display:grid;place-items:center;width:36px;height:36px;border:0;background:none;color:#333;cursor:pointer;border-radius:50%}.help-button:hover{background:#f4f4f4}dialog{position:fixed;border:0;border-radius:16px;max-width:460px;width:calc(100% - 36px);max-height:calc(100dvh - 48px);overflow:auto;padding:34px 30px;color:#222;box-shadow:0 12px 60px #0002}dialog::backdrop{background:#0005}.close-help{position:absolute;right:14px;top:12px;background:none;border:0;font-size:27px;color:#777;cursor:pointer;width:32px;height:32px}dialog h1{font-size:25px;font-weight:600;margin:0 0 18px;letter-spacing:-.6px}dialog p,dialog li{font-size:14px;line-height:1.75}dialog ul{padding-left:20px}dialog li{margin:10px 0}.help-lead{font-weight:500}.warmth-scale{background:#f5f5f5;border-radius:8px;padding:14px 10px;font-size:12px;text-align:center;margin:20px 0}.help-note{color:#888;font-size:12px!important;margin-bottom:0}
.guess-count{margin-top:8px;font-size:12px;line-height:1.5;color:#999}
.summary-text{white-space:pre-wrap;line-height:1.85}.message-actions{display:flex;align-items:center;gap:10px;margin-top:14px}.share-button{display:grid;place-items:center;width:32px;height:32px;padding:0;background:none;border:0;border-radius:8px;color:#777;cursor:pointer}.share-button:hover{background:#f4f4f4;color:#222}.share-button:disabled{background:none;color:#aaa}.share-status{font-size:12px;color:#888}
.brand{display:inline-flex;align-items:center;gap:9px}.beta-badge{display:inline-flex;align-items:center;font-size:10px;line-height:1.2;font-weight:500;letter-spacing:.025em;color:#777;background:#f3f3f3;border:1px solid #e5e5e5;border-radius:999px;padding:4px 9px}
:root{color-scheme:light dark;--page:#fff;--text:#202123;--surface:#f4f4f4;--border:#e9e9e9;--focus:#d3d3d3;--muted:#777;--secondary:#555;--send:#222;--send-text:#fff;--disabled:#d9d9d9;--disabled-text:#fff;--shimmer:#c4c4c4;--error:#a33;--modal:#fff;--backdrop:#0005}
@media(prefers-color-scheme:dark){:root{--page:#000;--text:#ededed;--surface:#212121;--border:#303030;--focus:#595959;--muted:#aaa;--secondary:#c5c5c5;--send:#ededed;--send-text:#151515;--disabled:#414141;--disabled-text:#999;--shimmer:#f0f0f0;--error:#f28b82;--modal:#191919;--backdrop:#0009}}
:root{color:var(--text);background:var(--page)}header,.composer-area{background:var(--page)}header{color:var(--secondary)}.guess,form,.help-button:hover,.share-button:hover,.warmth-scale{background:var(--surface)}form{border-color:var(--border)}form:focus-within{border-color:var(--focus)}#word{color:var(--text)}#word::placeholder,.welcome span,.help-note,.guess-count,.share-status,.close-help,.share-button,#turns{color:var(--muted)}form button{background:var(--send);color:var(--send-text)}form button:disabled{background:var(--disabled);color:var(--disabled-text)}.help-button,.share-button:hover{color:var(--text)}dialog{background:var(--modal);color:var(--text)}dialog::backdrop{background:var(--backdrop)}button:focus-visible{outline-color:var(--muted)}.share-button:disabled{color:var(--muted);opacity:.6}#error{color:var(--error)}.beta-badge{background:var(--surface);border-color:var(--border);color:var(--muted)}.thinking-shimmer{color:var(--muted);background-image:linear-gradient(110deg,var(--muted) 30%,var(--shimmer) 45%,var(--muted) 60%)}
@media(prefers-reduced-motion:reduce){.thinking-shimmer{background:none;-webkit-text-fill-color:currentColor}}
.beta-badge{font-size:11px;line-height:1.4;font-weight:400;letter-spacing:0;padding:4px 10px;border:0;background:#eee;color:#333}
@media(prefers-color-scheme:dark){.beta-badge{background:#383838;color:#f5f5f5}}
.continuation-callout{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:16px 4px 0;padding:20px;border:1px solid var(--border);border-radius:16px;background:var(--surface)}.continuation-copy{min-width:0}.continuation-title{margin:0;font-size:15px;line-height:1.5;font-weight:500}.continuation-description{margin:5px 0 0;font-size:13px;line-height:1.6;color:var(--muted)}.continuation-action{flex-shrink:0;min-height:44px;border:0;border-radius:999px;padding:10px 18px;background:var(--send);color:var(--send-text);font-size:14px;cursor:pointer}.continuation-action:hover:not(:disabled){opacity:.85}.continuation-action:disabled{background:var(--disabled);color:var(--disabled-text)}@media(max-width:480px){.continuation-callout{align-items:flex-start;flex-direction:column;gap:14px;padding:18px}.continuation-action{width:100%}}
.mobile-keyboard{display:none;--key-background:#d3d6da;--key-text:#111}@media(prefers-color-scheme:dark){.mobile-keyboard{--key-background:#515151;--key-text:#f5f5f5}}.mobile-keyboard[hidden]{display:none}
@media(max-width:767px){.composer-area{padding:10px 10px max(10px,env(safe-area-inset-bottom))}.mobile-keyboard{display:flex;flex-direction:column;gap:8px;margin-top:12px;user-select:none;-webkit-user-select:none;touch-action:manipulation}.keyboard-row{display:flex;justify-content:center;gap:6px}.keyboard-row:nth-child(2){padding:0 4.5%}.keyboard-key{flex:1;min-width:0;min-height:58px;padding:0;border:0;border-radius:4px;background:var(--key-background);color:var(--key-text);font-size:18px;font-weight:700;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.keyboard-key-wide{flex:1.6;font-size:11px;text-transform:uppercase}.keyboard-key-wide:last-child{font-size:22px}.keyboard-key:active:not(:disabled){background:var(--focus)}.keyboard-key:disabled{background:var(--key-background);color:var(--key-text);opacity:.5}.composer-area form{padding:6px 10px 6px 18px}.thread{padding-bottom:18px}}
@media(max-width:360px){.keyboard-row{gap:4px}.keyboard-key{font-size:16px}.keyboard-key-wide{font-size:10px}.keyboard-key-wide:last-child{font-size:20px}}
