:root{--scene-glass:#10202b70;--scene-border:#d4edff33;--scene-ink:#e7f4f8}
.glass{background:var(--scene-glass);border:1px solid var(--scene-border);box-shadow:inset 0 1px 0 #ffffff0e,0 16px 48px #00000026;backdrop-filter:blur(18px) saturate(125%);-webkit-backdrop-filter:blur(18px) saturate(125%)}
.speech-anchor{color:var(--scene-ink);pointer-events:none}
.speech-card,.speech-anchor.user .speech-card{position:relative;isolation:isolate;padding:15px 19px 17px;border:1.5px solid #c2edff9c;border-radius:26px 23px 27px 22px;background:#14283270;color:var(--scene-ink);box-shadow:inset 0 0 0 3px #14283238,0 10px 32px #0003;backdrop-filter:blur(16px) saturate(130%);-webkit-backdrop-filter:blur(16px) saturate(130%);transform-origin:50% 100%;pointer-events:auto}
.speech-card:before{content:'';position:absolute;inset:5px;border:1px solid #d7f4ff18;border-radius:20px 17px 21px 16px;pointer-events:none}
.speech-card:after{content:'';position:absolute;left:var(--tail-left,46%);bottom:-10px;width:16px;height:16px;background:#14283270;border:0;border-right:1.5px solid #c2edff9c;border-bottom:1.5px solid #c2edff9c;border-radius:0 0 6px 0;transform:rotate(45deg) skew(-7deg,-7deg);z-index:-1;pointer-events:none}
.speech-card strong,.speech-anchor.user .speech-card strong{font-size:10px;letter-spacing:1.8px;color:#9ee3ff;border:0;padding:0 0 8px;margin:0;display:block;overflow-wrap:anywhere}
.speech-card strong:after{content:'';display:block;width:26px;height:2px;border-radius:2px;background:currentColor;opacity:.4;margin-top:8px}
.speech-text{font-size:16px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;scrollbar-width:thin;margin-top:0;color:#e5f2f7}
.speech-anchor.user .speech-card{background:#18302d70;border-color:#c2f0d582}
.speech-anchor.user .speech-card strong{color:#c2f0d5}
.speech-anchor.user .speech-card:after{background:#18302d70;border-color:#c2f0d582}
.speech-anchor.user .speech-text{color:#e2f4e9}
@media(max-width:700px){.speech-card,.speech-anchor.user .speech-card{padding:12px 14px;border-radius:22px 20px 23px 18px}
.speech-card strong,.speech-anchor.user .speech-card strong{font-size:9px}
.speech-text{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.speech-card{animation:none!important}
}
.bubble-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:7px}
.copy-button{display:grid;place-items:center;width:32px;height:32px;padding:6px;margin-left:auto;border:0;border-radius:10px;background:transparent;color:inherit;cursor:pointer;flex-shrink:0}
.copy-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.copy-button:hover,.copy-button[data-copied=true]{background:#ffffff14}
.speech-text{user-select:text;-webkit-user-select:text}
.copy-button{user-select:none;-webkit-user-select:none}
