/* Try it: the chat demo on the home page. Built from the design mockup; looks use the store packs. */
.try {
  --panel: #e9f0fb; --panel2: #dde8f8; --card: #ffffff;
  --ink: #0b1a33; --ink2: #4a5a78; --mute: #8593ad; --line: #d3dcec;
  --signal-ink: #ffffff; --alex: #19b57a;
  --bg: #eef2fa; --me: #0362ff; --me-ink: #fff; --them: #ffffff; --them-ink: #0b1a33;
}
@media (prefers-color-scheme: dark) { .try {
  --panel: #0d1a33; --panel2: #13244a; --card: #0f1e3a;
  --ink: #eaf1fb; --ink2: #b4c1da; --mute: #7f8fae; --line: #22365c;
  --signal-ink: #04102a; --bg: #0b1a33; --me: #3d94ff; --me-ink: #04102a; --them: #13244a; --them-ink: #eaf1fb; color-scheme: dark; } }
.try .win[data-look="axolotl"] { --bg: #fce8e4; --me: #fbd4d2; --me-ink: #56303d; --them: #fbd4d2; --them-ink: #56303d; --edge: color-mix(in srgb, #56303d 28%, #fbd4d2); --char: url(/assets/looks/axolotl-char.png); --cw: 84; --ch: 64; --tile: url(/assets/looks/axolotl-bg.webp); }
.try .win[data-look="red-panda"] { --bg: #f7f4ec; --me: #fdf0d7; --me-ink: #573827; --them: #fdf0d7; --them-ink: #573827; --edge: color-mix(in srgb, #573827 28%, #fdf0d7); --char: url(/assets/looks/red-panda-char.png); --cw: 112; --ch: 64; --tile: url(/assets/looks/red-panda-bg.webp); }
.try .win[data-look="space-cat"] { --bg: #f7f3fd; --me: #eee0fb; --me-ink: #49385f; --them: #eee0fb; --them-ink: #49385f; --edge: color-mix(in srgb, #49385f 28%, #eee0fb); --char: url(/assets/looks/space-cat-char.png); --cw: 62; --ch: 64; --tile: url(/assets/looks/space-cat-bg.webp); }
.try .win[data-look="froggy-pond"] { --bg: #f3f7ef; --me: #e6f5d9; --me-ink: #2c503c; --them: #e6f5d9; --them-ink: #2c503c; --edge: color-mix(in srgb, #2c503c 28%, #e6f5d9); --char: url(/assets/looks/froggy-pond-char.png); --cw: 74; --ch: 64; --tile: url(/assets/looks/froggy-pond-bg.webp); }
.try .win[data-look="honey-bear"] { --bg: #fde3a8; --me: #fcefc6; --me-ink: #5f4325; --them: #fcefc6; --them-ink: #5f4325; --edge: color-mix(in srgb, #5f4325 28%, #fcefc6); --char: url(/assets/looks/honey-bear-char.png); --cw: 77; --ch: 64; --tile: url(/assets/looks/honey-bear-bg.webp); }
.try .win[data-look="penguin-puddle"] { --bg: #eef8fe; --me: #d9f0fb; --me-ink: #304e67; --them: #d9f0fb; --them-ink: #304e67; --edge: color-mix(in srgb, #304e67 28%, #d9f0fb); --char: url(/assets/looks/penguin-puddle-char.png); --cw: 87; --ch: 64; --tile: url(/assets/looks/penguin-puddle-bg.webp); }
.try { padding-block: clamp(64px, 8vw, 110px); }
.try .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.try .thead { max-width: 480px; }
.try .app { border-radius: 24px; background: color-mix(in srgb, var(--card) 85%, transparent); border: 1.5px solid var(--line); backdrop-filter: blur(10px); overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: box-shadow .3s; }
.try .app .ah { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-weight: 800; font-size: 14px; }
.try .app .dots { display: flex; gap: 6px; } .try .app .dots i { width: 10px; height: 10px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 15%, transparent); }
.try .app .ah button { height: 30px; border-radius: 15px; border: 0; background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink); display: none; place-items: center; font: inherit; font-size: 13px; font-weight: 700; padding: 0 10px; }
.try .app .ah .pop { margin-left: auto; width: 30px; padding: 0; } .try .app .ah svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.try .app.open .ah .pop { display: grid; }
.try .app .body { display: grid; grid-template-columns: 1fr; min-height: 0; }
.try .app.open .body { grid-template-columns: 240px minmax(0, 1fr); }
.try .list { display: grid; gap: 4px; padding: 8px; align-content: start; }
.try .app .tpane { display: none; min-height: 0; min-width: 0; } .try .app.open .tpane { display: grid; border-left: 1px solid var(--line); }
.try .app .tpane .empty, .try .app .tpane .floating { display: none; place-items: center; align-content: center; text-align: center; gap: 6px; padding: 24px; }
.try .app .tpane.is-empty .empty { display: grid; } .try .app .tpane.is-floating .floating { display: grid; }
.try .app .tpane .glyph { width: 64px; height: 64px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 6%, transparent); }
.try .app .tpane .floating .av { width: 56px; height: 56px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 20px; margin-bottom: 6px; }
.try .app .tpane .floating b { font-size: 17px; } .try .app .tpane .floating small { color: var(--mute); font-size: 14px; }
.try .app .tpane .btns { display: flex; gap: 8px; margin-top: 14px; }
.try .app .tpane .btns button { height: 38px; padding: 0 16px; border-radius: 19px; border: 1.5px solid var(--line); background: none; color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; }
.try .app .tpane .btns .switch { background: var(--signal); border-color: var(--signal); color: var(--signal-ink, #fff); }
.try.strip .app.over { box-shadow: 0 0 0 3px var(--signal), 0 40px 80px -40px rgb(11 26 51 / .55); border-color: var(--signal); }
.try.strip .app.over .tpane { position: relative; } .try.strip .app.over .tpane::after { content: ""; position: absolute; inset: 10px; border-radius: 16px; border: 2px dashed var(--signal); background: color-mix(in srgb, var(--signal) 6%, transparent); pointer-events: none; animation: pop .25s cubic-bezier(.2, 1.2, .4, 1); }
.try .bub.toapp { scale: .8; transition: scale .15s; }
.try .app .tpane .win { position: static; width: auto; min-width: 0; max-width: 100%; height: auto; min-height: 0; border: 0; border-radius: 0; box-shadow: none; animation: none; }
.try .app.over { box-shadow: 0 0 0 3px var(--signal); } .try .win.over { box-shadow: 0 0 0 3px var(--signal), 0 30px 60px -36px rgb(11 26 51 / .5); }
.try .item { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; border: 0; background: none; color: var(--ink); text-align: left; cursor: grab; touch-action: none; user-select: none; transition: background .15s; }
.try .item:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.try .item.on { background: color-mix(in srgb, var(--signal) 12%, transparent); }
.try .app.open .item .when, .try .app.open .item small { display: none; }
.try .app.open .item { grid-template-columns: 40px 1fr; } .try .app.open .item .av { width: 40px; height: 40px; }
.try .item .av { width: 44px; height: 44px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 16px; }
.try .item > span:nth-child(2) { min-width: 0; } .try .item b { display: block; font-size: 15px; } .try .item small { display: block; font-size: 13px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.try .item .when { font-size: 12px; color: var(--mute); align-self: start; padding-top: 3px; }
.try .item .ai { font-style: normal; }
.try.strip.dragging .item { cursor: grabbing; }
.try.strip.dragging, .try.strip.dragging * { user-select: none; -webkit-user-select: none; }
.try .thead { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0; } .try .thead > * { min-width: 0; }
.try .tries { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 6px; max-width: 440px; }
.try .tries button { display: grid; gap: 6px; justify-items: center; padding: 12px 6px 10px; border-radius: 16px; border: 1.5px solid var(--line); background: color-mix(in srgb, var(--card) 70%, transparent); font-weight: 600; font-size: 12px; color: var(--ink2); transition: all .15s; }
.try .tries button .ic { width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--signal) 10%, transparent); color: var(--signal); display: grid; place-items: center; }
.try .tries button .ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.try .tries button:hover { border-color: var(--signal); color: var(--ink); transform: translateY(-2px); }
.try .reset { position: absolute; z-index: 8; right: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); background: color-mix(in srgb, var(--card) 80%, transparent); color: var(--mute); display: grid; place-items: center; opacity: .7; transition: opacity .15s, transform .3s; }
.try .reset:hover { opacity: 1; color: var(--ink); transform: rotate(-60deg); }
.try .reset svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.try .fine { color: var(--mute); font-size: 14px; }/* The window */


.try .win { position: absolute; z-index: 6; margin: 0; width: min(420px, calc(100% - 24px)); border-radius: 28px; border: 1.5px solid var(--line); background: var(--bg); box-shadow: 0 30px 60px -36px rgb(11 26 51 / .5); overflow: hidden; display: grid; grid-template-rows: 1fr; height: min(600px, calc(100% - 24px)); transition: background .4s; transform-origin: top right; animation: pop .3s cubic-bezier(.2, 1.2, .4, 1); }
.try .win.hide { display: none; }
.try .win.popup.focus { box-shadow: 0 0 0 2px var(--signal), 0 30px 60px -36px rgb(11 26 51 / .5); border-color: var(--signal); }
.try.strip .app.active { border-color: var(--signal); box-shadow: 0 0 0 2px var(--signal), 0 40px 80px -40px rgb(11 26 51 / .55); }
.try.strip .app.active .ah .title { color: var(--signal); }
.try .win.popup .top .av { display: none; }
.try .win.popup .top { cursor: grab; touch-action: none; } .try.strip.dragging .win.popup .top { cursor: grabbing; }
.try .win .top .towin { display: none; } .try .win.popup .top .towin { display: grid; } .try .win:not(.popup) .top .tuck { display: none; }
.try .win.popup .top .bub-btn + .bub-btn { margin-left: 6px; }
.try .tchat { position: relative; min-height: 0; min-width: 0; display: grid; grid-template-rows: auto 1fr auto; background: var(--bg); overflow: hidden; transition: background .4s; }
.try .win .top { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: color-mix(in srgb, var(--them) 75%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid color-mix(in srgb, var(--them-ink) 10%, transparent); color: var(--them-ink); z-index: 2; }
.try .win .top .av { width: 36px; height: 36px; border-radius: 50%; background: var(--alex); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.try .win .top b { display: block; font-size: 15px; } .try .win .top small { display: block; font-size: 12px; opacity: .65; }
.try .win .top .look { margin-left: auto; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: color-mix(in srgb, var(--me) 14%, transparent); color: var(--them-ink); display: none; }
.try .win[data-look] .top .look { display: inline-flex; gap: 6px; align-items: center; }
.try .feed { overflow-y: auto; min-width: 0; padding: 18px 16px; display: flex; flex-direction: column; gap: 8px; scroll-behavior: smooth; }
.try .feed > * { flex: none; animation: pop .35s cubic-bezier(.2, 1.2, .4, 1); transform-origin: bottom; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.try .feed > :has(> .react) { margin-bottom: 12px; }
.try .msg { max-width: 78%; padding: 9px 13px; border-radius: 18px; font-size: 15px; line-height: 1.35; position: relative; overflow-wrap: anywhere; }
.try .msg.me { align-self: flex-end; background: var(--me); color: var(--me-ink); border-bottom-right-radius: 5px; }
.try .msg.them { align-self: flex-start; background: var(--them); color: var(--them-ink); border-bottom-left-radius: 5px; box-shadow: 0 1px 2px rgb(11 26 51 / .08); }
.try .win[data-look] .msg, .try .win[data-look] .tcard { border: 1.5px solid var(--edge); }
.try .win[data-look] .msg::after, .try .win[data-look] .tcard::after { content: ""; position: absolute; bottom: -9px; height: 26px; width: calc(var(--cw) / var(--ch) * 26px); background: var(--char) center / contain no-repeat; pointer-events: none; filter: drop-shadow(0 1px 1px rgb(0 0 0 / .12)); }
.try .win[data-look] .msg.me::after, .try .win[data-look] .tcard::after { left: -5px; } .try .win[data-look] .msg.them::after { right: -5px; transform: scaleX(-1); }
.try .win[data-look] .tchat { background: var(--tile) 0 0 / 256px repeat, var(--bg); }
.try .win[data-look] .feed { gap: 14px; }
.try .msg .st { display: block; font-size: 11px; opacity: .7; margin-top: 3px; text-align: right; }
.try .react { position: absolute; bottom: -13px; right: 10px; background: var(--them); color: var(--them-ink); border-radius: 999px; padding: 1px 6px; font-size: 12px; box-shadow: 0 1px 3px rgb(11 26 51 / .2); }
.try .sys { align-self: center; font-size: 12px; color: var(--them-ink); opacity: .7; background: color-mix(in srgb, var(--them) 70%, transparent); padding: 4px 10px; border-radius: 999px; text-align: center; }
.try .typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 10px 13px; background: var(--them); border-radius: 18px; border-bottom-left-radius: 5px; }
.try .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--them-ink); opacity: .4; animation: dots 1s infinite; } .try .typing i:nth-child(2) { animation-delay: .2s; } .try .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes dots { 50% { opacity: 1; transform: translateY(-2px); } }/* Attachments */

.try .photo { align-self: flex-end; width: 62%; aspect-ratio: 4 / 3; border-radius: 18px; border-bottom-right-radius: 5px; background: linear-gradient(160deg, #ffd38a, #ff8a65 45%, #5b7cfa); position: relative; overflow: hidden; }
.try .photo::before { content: ""; position: absolute; left: 10%; bottom: 0; width: 80%; height: 38%; background: #1f3a2a; clip-path: polygon(0 100%, 18% 40%, 32% 70%, 50% 10%, 68% 60%, 82% 35%, 100% 100%); opacity: .8; }
.try .photo span { position: absolute; left: 10px; bottom: 8px; font-size: 11px; color: #fff; background: rgb(0 0 0 / .35); padding: 2px 7px; border-radius: 999px; }
.try .file { align-self: flex-end; display: grid; grid-template-columns: 38px 1fr; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 18px; border-bottom-right-radius: 5px; background: var(--me); color: var(--me-ink); max-width: 78%; font-size: 14px; }
.try .file i { width: 38px; height: 38px; border-radius: 10px; background: rgb(255 255 255 / .2); display: grid; place-items: center; font: 600 10px var(--mono); }
.try .file b { display: block; } .try .file small { opacity: .75; font-size: 12px; }
.try .file .prog { display: block; height: 4px; border-radius: 2px; background: rgb(255 255 255 / .3); margin-top: 6px; overflow: hidden; }
.try .file .prog i { display: block; height: 100%; width: 0; background: currentColor; transition: width .12s linear; }
.try .file.done .prog { display: none; }
.try .voice { align-self: flex-end; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 999px; background: var(--me); color: var(--me-ink); font-size: 13px; }
.try .voice .play { width: 28px; height: 28px; border-radius: 50%; background: rgb(255 255 255 / .25); display: grid; place-items: center; border: 0; color: inherit; }
.try .voice .wave { display: flex; gap: 2px; align-items: center; height: 22px; } .try .voice .wave i { width: 3px; border-radius: 2px; background: currentColor; opacity: .85; }
.try .voice.playing .wave i { animation: bar .8s ease-in-out infinite alternate; }
@keyframes bar { to { transform: scaleY(.35); } }/* Cards */

.try .tcard { align-self: stretch; margin: 2px 0 6px; background: var(--them); color: var(--them-ink); border: 1.5px solid color-mix(in srgb, var(--them-ink) 12%, transparent); border-radius: 16px; padding: 12px 14px; display: grid; gap: 8px; font-size: 14px; position: relative; }
.try .tcard .t { font-weight: 800; display: flex; align-items: center; gap: 8px; }
.try .tcard .foot { opacity: .65; font-size: 12px; }
.try .topt { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; border: 1.5px solid color-mix(in srgb, var(--them-ink) 12%, transparent); background: color-mix(in srgb, var(--them-ink) 4%, var(--them)); color: inherit; text-align: left; font-weight: 600; font-size: 14px; position: relative; overflow: hidden; width: 100%; }
.try .topt .bar { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: color-mix(in srgb, var(--me) 18%, transparent); transition: width .5s; }
.try .topt > span { position: relative; } .try .topt .n { margin-left: auto; opacity: .65; font-variant-numeric: tabular-nums; }
.try .topt[aria-pressed="true"] { border-color: var(--me); }
.try .tring { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--them-ink) 40%, transparent); flex: none; }
.try .topt[aria-pressed="true"] .tring { background: var(--me); border-color: var(--me); box-shadow: inset 0 0 0 3px var(--them); }
.try .tick .tring { border-radius: 4px; } .try .tick[aria-pressed="true"] .tring { box-shadow: none; }
.try .tick[aria-pressed="true"] .tring::after { content: "✓"; color: var(--me-ink); font-size: 11px; display: grid; place-items: center; height: 100%; }
.try .who { display: flex; gap: 4px; flex-wrap: wrap; } .try .who span { padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--me) 16%, transparent); font-size: 12px; font-weight: 600; }
.try .cbtn { justify-self: start; padding: 8px 14px; border-radius: 999px; background: var(--me); color: var(--me-ink); border: 0; font-weight: 600; font-size: 14px; }
.try .cbtn[disabled] { opacity: .6; }
.try .count { font: 600 28px/1 var(--mono); letter-spacing: -.02em; }/* Composer */

.try .bar { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 10px 12px 12px; background: color-mix(in srgb, var(--them) 75%, transparent); border-top: 1px solid color-mix(in srgb, var(--them-ink) 10%, transparent); z-index: 2; }
.try .bar .plus { width: 40px; height: 40px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--me) 14%, transparent); color: var(--them-ink); display: grid; place-items: center; transition: transform .25s; }
.try .bar .plus svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.try .win.open .bar .plus { transform: rotate(45deg); }
.try .bar input { flex: 1; min-width: 0; height: 40px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--them-ink) 12%, transparent); background: var(--them); color: var(--them-ink); padding: 0 14px; font: inherit; font-size: 15px; }
.try .bar input::placeholder { color: color-mix(in srgb, var(--them-ink) 45%, transparent); }
.try .bar .tsend { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--me); color: var(--me-ink); display: grid; place-items: center; }
.try .bar .tsend svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.try .bar .tsend .arrow { display: none; } .try .bar.typed .tsend .arrow { display: block; } .try .bar.typed .tsend .mic { display: none; }
.try .bar .tsend { touch-action: none; user-select: none; transition: transform .15s; }
.try .bar.rec .tsend { transform: scale(1.25); background: #ff3b30; color: #fff; animation: rec 1s ease-in-out infinite; }
@keyframes rec { 50% { box-shadow: 0 0 0 10px rgb(255 59 48 / .25); } }
.try .bar .rectime { display: none; flex: 1; align-items: center; gap: 8px; height: 40px; padding: 0 14px; font: 600 14px var(--mono); color: var(--them-ink); }
.try .bar .rectime i { width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.try .bar.rec input { display: none; } .try .bar.rec .rectime { display: flex; }
.try .bar .rectime em { margin-left: auto; font: 500 13px var(--sans); opacity: .6; transition: transform .05s, opacity .2s; }
.try .bar.cancel .rectime em { color: #ff3b30; opacity: 1; } .try .bar.cancel .tsend { background: color-mix(in srgb, var(--them-ink) 25%, transparent); animation: none; }/* The + view: fills the window, options as thumbnails */

.try .picker { position: absolute; inset: 0; background: var(--them); color: var(--them-ink); z-index: 3; display: grid; grid-template-rows: auto 1fr; transform: translateY(100%); transition: transform .3s cubic-bezier(.2, .9, .3, 1); }
.try .win.open .picker { transform: none; }
.try .picker .ph { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; font-weight: 800; font-size: 15px; border-bottom: 1px solid color-mix(in srgb, var(--them-ink) 10%, transparent); }
.try .picker .ph button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--them-ink) 8%, transparent); color: inherit; display: grid; place-items: center; }
.try .picker .ph button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.try .picker .pb { overflow-y: auto; padding: 14px 16px 18px; display: grid; gap: 16px; align-content: start; }
.try .picker h4 { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .6; }
.try .thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.try .thumb { display: grid; gap: 6px; padding: 0; border: 0; background: none; color: inherit; font-size: 13px; font-weight: 600; text-align: left; }
.try .thumb .pic { aspect-ratio: 4 / 3; border-radius: 14px; border: 1.5px solid color-mix(in srgb, var(--them-ink) 12%, transparent); background: color-mix(in srgb, var(--them-ink) 4%, var(--them)); position: relative; overflow: hidden; display: grid; place-items: center; transition: transform .15s, border-color .15s; }
.try .thumb:hover .pic { transform: translateY(-2px); border-color: color-mix(in srgb, var(--them-ink) 35%, transparent); }
.try .thumb .pic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.try .thumb .pic.shot { background: linear-gradient(160deg, #ffd38a, #ff8a65 45%, #5b7cfa); border: 0; }
.try .thumb .pic.shot::before { content: ""; position: absolute; left: 10%; bottom: 0; width: 80%; height: 38%; background: #1f3a2a; clip-path: polygon(0 100%, 18% 40%, 32% 70%, 50% 10%, 68% 60%, 82% 35%, 100% 100%); opacity: .8; }
.try .thumb .pic .doc { width: 34%; aspect-ratio: 3 / 4; border-radius: 6px; background: var(--them); border: 1.5px solid color-mix(in srgb, var(--them-ink) 20%, transparent); display: grid; place-items: end center; font: 600 9px var(--mono); padding-bottom: 4px; }
.try .thumb .pic .wv { display: flex; gap: 2px; align-items: center; height: 24px; } .try .thumb .pic .wv i { width: 3px; border-radius: 2px; background: currentColor; opacity: .7; }/* tiny cards */

.try .mini { width: 78%; border-radius: 8px; background: var(--them); border: 1px solid color-mix(in srgb, var(--them-ink) 15%, transparent); padding: 6px 7px; display: grid; gap: 3px; font-size: 7px; font-weight: 700; }
.try .mini i { display: block; height: 7px; border-radius: 3px; background: color-mix(in srgb, var(--them-ink) 8%, transparent); border: 1px solid color-mix(in srgb, var(--them-ink) 12%, transparent); }
.try .mini i.on { background: color-mix(in srgb, var(--me) 25%, transparent); border-color: var(--me); }
.try .mini i.btn { width: 45%; background: var(--me); border: 0; }
.try .mini .big { font: 600 11px var(--mono); }/* look swatches: two bubbles on the character's background */

.try .swatch { position: absolute; inset: 0; display: grid; align-content: center; gap: 4px; padding: 10px; }
.try .swatch i { display: block; height: 10px; width: 55%; border-radius: 6px; } .try .swatch i:last-child { justify-self: end; }
.try .thumb.on .pic { border-color: var(--me); box-shadow: 0 0 0 2px color-mix(in srgb, var(--me) 35%, transparent); }/* The strip: a stand-in for whatever else is on screen. The bubble floats over it and drags. */

.try.strip { position: relative; overflow: hidden; min-height: 880px; background: radial-gradient(900px 500px at 15% 10%, color-mix(in srgb, var(--signal) 14%, transparent), transparent 60%), radial-gradient(700px 500px at 90% 90%, color-mix(in srgb, #ffb86b 22%, transparent), transparent 60%), var(--panel); }
.try.strip .g { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; pointer-events: none; }
.try.strip .g1 { left: -5%; top: -10%; width: 40%; height: 60%; background: color-mix(in srgb, var(--signal) 25%, transparent); }
.try.strip .g2 { right: -10%; bottom: -20%; width: 45%; height: 70%; background: color-mix(in srgb, #ff8a65 25%, transparent); }
.try.strip .g3 { left: 40%; top: 60%; width: 30%; height: 50%; background: color-mix(in srgb, #4e9a3c 18%, transparent); }
.try .top .bub-btn { width: 32px; height: 32px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--me) 14%, transparent); color: var(--them-ink); display: grid; place-items: center; margin-left: 8px; }
.try .top .bub-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.try .win:not([data-look]) .top .towin, .try .win:not(.popup):not([data-look]) .top .tuck { margin-left: auto; }
.try .bub { position: absolute; z-index: 7; margin: 0; width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--card); background: var(--alex); color: #fff; font-weight: 800; font-size: 20px; display: grid; place-items: center; box-shadow: 0 12px 30px -10px rgb(11 26 51 / .6); cursor: grab; touch-action: none; user-select: none; transition: transform .15s, top .35s cubic-bezier(.2, .9, .3, 1), left .35s cubic-bezier(.2, .9, .3, 1); }
.try .bub.drag { cursor: grabbing; transform: scale(1.1); transition: none; }
.try .bub.hide { display: none; }
.try .face { width: 100%; height: 100%; display: block; }
.try .duo { position: relative; display: block; width: 100%; height: 100%; } .try .duo .face { position: absolute; width: 66%; height: 66%; left: 0; top: 0; } .try .duo .face + .face { left: auto; top: auto; right: 0; bottom: 0; }
.try .av, .try .bav { background: none !important; } .try .bub .bav { position: absolute; inset: 3px; border-radius: 50%; display: grid; place-items: center; }
.try .bub, .try .bub.ghost { background: var(--card); }
.try .bub .bav.two { display: none; }
.try .bub.group { background: var(--card); } .try .bub.group .bav { inset: auto; width: 36px; height: 36px; left: -2px; top: -2px; border: 2px solid var(--card); font-size: 14px; }
.try .bub.group .bav.two { display: grid; left: auto; top: auto; right: -2px; bottom: -2px; }
.try .bub.over { transform: scale(1.18); box-shadow: 0 0 0 3px var(--signal); }
.try .bub.ghost { pointer-events: none; opacity: .95; transition: none; z-index: 999; }
.try .desk { position: absolute; z-index: 6; left: 24px; right: 24px; bottom: 20px; display: flex; gap: 20px; justify-content: space-between; align-items: flex-end; pointer-events: none; } .try .desk > * { pointer-events: auto; }
.try .dfile { display: grid; justify-items: center; gap: 4px; width: 128px; padding: 8px 4px; border: 0; border-radius: 14px; background: none; color: var(--ink); font: inherit; font-size: 12px; font-weight: 600; cursor: grab; touch-action: none; user-select: none; }
.try .dfile:hover { background: color-mix(in srgb, var(--card) 70%, transparent); } .try .dfile.lift { opacity: .4; }
.try .dfile small { color: var(--mute); font-weight: 500; } .try .dfile b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.try .dicon { position: relative; width: 52px; height: 60px; display: grid; place-items: center; color: var(--signal); }
.try .dicon svg { width: 52px; height: 60px; fill: color-mix(in srgb, var(--card) 92%, var(--signal)); stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(0 6px 12px rgb(11 26 51 / .18)); }
.try .dicon i { position: absolute; left: 50%; bottom: 8px; translate: -50% 0; font: 700 9px var(--mono); letter-spacing: .04em; }
.try .dfile.hide { display: none; } .try .dfile.ghost { position: absolute; z-index: 999; pointer-events: none; transition: none; cursor: grabbing; background: none; transform: scale(1.05); }
.try .app { position: relative; }
.try .qd { position: absolute; left: 0; right: 0; bottom: 0; top: 49px; z-index: 400; display: grid; grid-template-rows: auto auto 1fr; gap: 12px; padding: 16px; background: color-mix(in srgb, var(--card) 94%, transparent); backdrop-filter: blur(8px); overflow: hidden; animation: pop .2s ease-out; }
.try .qd.hide { display: none; }
.try .qd .zones { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.try .qd .zone { display: grid; gap: 2px; justify-items: center; align-content: center; min-height: 96px; padding: 14px; border-radius: 18px; border: 2px dashed var(--line); background: color-mix(in srgb, var(--card) 60%, transparent); color: var(--ink); text-align: center; transition: border-color .15s, background .15s; }
.try .qd .zone b { font-size: 15px; } .try .qd .zone small { font-size: 12px; color: var(--mute); }
.try .qd .zone.over { border-color: var(--signal); background: color-mix(in srgb, var(--signal) 8%, transparent); } .try .qd .zone.over > b { color: var(--signal); }
.try .qd .zone.hide { display: none; } .try .qd .zones:has(.here.hide) { grid-template-columns: 1fr; }
.try .qd .devs { display: none; width: 100%; margin-top: 8px; gap: 2px; } .try .qd .zone.open .devs { display: grid; } .try .qd .zone.open > small { display: none; }
.try .tdev { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: center; padding: 6px 10px; border-radius: 12px; text-align: left; transition: background .15s; outline: 2px dashed transparent; outline-offset: -2px; }
.try .tdev svg { width: 22px; height: 22px; fill: none; stroke: var(--ink2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.try .tdev b { display: block; font-size: 14px; } .try .tdev small { display: block; font-size: 12px; color: var(--mute); }
.try .tdev.over, .try .item.over, .try .qrow.over { outline-color: var(--signal); background: color-mix(in srgb, var(--signal) 8%, transparent); }
.try .qd .qt { font-size: 13px; font-weight: 700; color: var(--mute); }
.try .qd .qrows { display: grid; gap: 2px; align-content: start; overflow: auto; }
.try .qrow { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: center; padding: 6px 10px; border-radius: 12px; font-weight: 700; font-size: 14px; outline: 2px dashed transparent; outline-offset: -2px; }
.try .qrow .av { width: 36px; height: 36px; display: block; }
.try .qd .toast { position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 6px; padding: 12px 14px; border-radius: 14px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 600; box-shadow: 0 12px 30px -12px rgb(11 26 51 / .5); }
.try .qd .toast.hide { display: none; } .try .qd .toast .prog { display: block; height: 3px; border-radius: 2px; background: rgb(255 255 255 / .25); overflow: hidden; } .try .qd .toast .prog i { display: block; height: 100%; width: 0; background: var(--signal); transition: width .12s linear; }
.try .qd .toast.done .prog { display: none; }
.try .app .qd.sending { pointer-events: none; background: none; backdrop-filter: none; } .try .app .qd.sending > :not(.toast) { display: none; }
.try .win.popup.over { box-shadow: 0 0 0 3px var(--signal), 0 30px 60px -36px rgb(11 26 51 / .5); }
.try .item { outline: 2px dashed transparent; outline-offset: -2px; }
.try .bub.sel { box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--signal); }
.try .bub.behind { pointer-events: none; }
.try .bub.fly { transition: left .28s cubic-bezier(.4, 0, .6, 1), top .28s cubic-bezier(.4, 0, .6, 1), scale .28s, opacity .28s; pointer-events: none; }
.try .item.lift { position: relative; z-index: 3; background: var(--card); box-shadow: 0 16px 40px -16px rgb(11 26 51 / .5); transition: none; pointer-events: none; }
.try.strip.dragging .win, .try.strip.dragging .bub { transition: none; }
.try .bub b { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; border-radius: 10px; background: #ff3b30; color: #fff; font-size: 12px; display: none; place-items: center; padding: 0 5px; }
.try .bub.new b { display: grid; } .try .bub.new { animation: nudge .6s ease-in-out 2; }
@keyframes nudge { 30% { transform: translateY(-6px) rotate(-6deg); } 60% { transform: translateY(0) rotate(5deg); } }/* Bots */

.try .msg.them.bot { padding-top: 7px; }
.try .msg .byline { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; opacity: .7; margin-bottom: 2px; }
.try .botmark { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .55; vertical-align: -2px; margin-left: 4px; flex: none; }
.try .msg .byline .botmark { margin-left: 0; }
.try .bub .corner { position: absolute; right: -3px; bottom: -3px; width: 20px; height: 20px; border-radius: 50%; background: var(--card); color: var(--ink); display: none; place-items: center; box-shadow: 0 1px 3px rgb(11 26 51 / .25); }
.try .bub .corner .botmark { width: 12px; height: 12px; margin: 0; opacity: .8; } .try .bub.isbot .corner { display: grid; }
.try .ai { display: inline-block; font-size: 9px; font-weight: 800; letter-spacing: .08em; padding: 1px 5px; border-radius: 5px; background: color-mix(in srgb, var(--them-ink) 10%, transparent); vertical-align: middle; margin-left: 5px; }
.try .thumb .pic .bot-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; }
@media (min-width: 861px) {
  .try .app.open { position: absolute; z-index: 5; left: max(50%, calc(100% - 760px)); right: 24px; top: 28px; height: 600px; box-shadow: 0 40px 80px -40px rgb(11 26 51 / .55); }
  .try .app.open .ah { cursor: grab; }
  .try .app.open .tpane .win { height: 100%; }
}
@media (max-width: 860px) {
  .try .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .try .app.open .body { grid-template-columns: 1fr; } .try .app.open .list { display: none; } .try .app.open .ah .back { display: grid; } .try .app.open .ah .dots { display: none; }
  .try .app.open .tpane { border-left: 0; height: min(600px, 75vh); }
  .try.strip { min-height: 0; }
  .try.strip { padding-bottom: 80px; } .try.strip.live { padding-bottom: 700px; }
  .try .desk { position: static; margin: 28px 0 0; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 12px; }
  .try .qd .zones { grid-template-columns: 1fr; }
  .try .win { border-radius: 24px; }
  .try .thumbs { gap: 8px; } .try .thumb { font-size: 12px; }
}
