/* The trigger shares launch-fix7's daily-media-tool glass and night finish. */
#blueink-r11 .composer .compose-tools { gap:5px }
#blueink-r11 .touch-space-tool-host { flex:none; display:flex }
#blueink-r11 .composer .touch-space-btn {
  display:grid; place-items:center; width:32px; height:32px; min-height:32px;
  border-radius:50%; position:relative; color:var(--ink-2);
}
#blueink-r11 .touch-space-btn.has-pending { outline:1px solid var(--blue); outline-offset:1px; color:var(--blue) }
#blueink-r11 .touch-paw-icon { width:13px; height:13px; flex:none; stroke-width:1.7 }
#blueink-r11 .touch-space-btn .touch-paw-icon { width:18px; height:18px }

#blueink-r11 .touch-pending-host:empty { display:none }
#blueink-r11 .touch-pending-host { position:relative; min-width:0; margin:0 5px }
#blueink-r11 :is(.touch-pending-pill,.touch-bubble-card) {
  width:fit-content; max-width:100%; box-sizing:border-box; border:1px solid var(--line);
  background:var(--glass); color:var(--ink-2); border-radius:15px; font:12px/1.45 var(--font-ui,sans-serif);
}
#blueink-r11 .touch-pending-pill {
  display:flex; align-items:flex-start; background:var(--glass-ui);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
}
#blueink-r11 .touch-pending-pill details { min-width:0 }
#blueink-r11 :is(.touch-pending-pill,.touch-bubble-card) summary {
  display:flex; align-items:center; gap:5px; padding:4px 9px; width:fit-content;
  color:var(--ink-2); cursor:pointer; list-style:none;
}
#blueink-r11 :is(.touch-pending-pill,.touch-bubble-card) summary::-webkit-details-marker { display:none }
#blueink-r11 .touch-pending-pill button {
  align-self:flex-start; min-width:26px; height:25px; padding:0 6px;
  border:0; border-radius:50%; background:transparent; color:var(--secondary); font:16px/1 var(--font-ui,sans-serif);
}
#blueink-r11 .touch-bubble-body {
  padding:3px 10px 8px; max-height:24vh; overflow:auto; white-space:pre-wrap; overflow-wrap:anywhere;
  color:var(--ink); font:13px/1.6 var(--font-ui,sans-serif);
}
#blueink-r11 .touch-bubble-card { display:block; margin:3px 0; text-align:start }
#blueink-r11 .daily-prose--user .touch-bubble-card { margin-left:auto }
#blueink-r11 .touch-only-bubble .touch-bubble-card { display:inline-block; vertical-align:middle; margin:0 }
@keyframes touch-reveal { from {opacity:0; transform:translateY(-2px)} to {opacity:1; transform:none} }
@media (prefers-reduced-motion:no-preference) {
  #blueink-r11:not([data-motion="reduced"]) details[open] > .touch-bubble-body { animation:touch-reveal .16s ease-out }
}

#blueink-r11 .touch-space-overlay {
  position:fixed; inset:0; z-index:90; overflow:hidden; overscroll-behavior:none;
  touch-action:none; user-select:none; -webkit-user-select:none; -webkit-touch-callout:none;
  background:#F5ECDF; color:var(--ink); font-family:var(--font-ui,sans-serif);
}
#blueink-r11[data-theme="night"] .touch-space-overlay { background:#161B26 }
#blueink-r11 .touch-space-overlay canvas {
  position:absolute; inset:0; display:block; width:100%; height:100%; touch-action:none; color:var(--blue);
}
#blueink-r11 .touch-bar {
  position:absolute; z-index:1; left:50%; transform:translateX(-50%); width:max-content;
  max-width:calc(100% - 24px); box-sizing:border-box; display:flex; align-items:center; gap:6px;
  padding:5px; border:1px solid var(--hair); border-radius:22px; background:var(--glass-ui);
  box-shadow:var(--shadow); backdrop-filter:blur(16px) saturate(1.08); -webkit-backdrop-filter:blur(16px) saturate(1.08);
}
#blueink-r11 .touch-bar-top { top:calc(env(safe-area-inset-top,0px) + 10px) }
#blueink-r11 .touch-bar-bottom {
  bottom:calc(max(env(safe-area-inset-bottom,0px),var(--bottom-safe,0px)) + 10px); width:min(calc(100% - 24px),420px);
}
#blueink-r11 .touch-bar button {
  border:0; padding:0 9px; min-height:36px; white-space:nowrap; border-radius:16px;
  background:transparent; color:var(--ink-2); font:13px/1 var(--font-ui,sans-serif); cursor:pointer;
}
#blueink-r11 .touch-bar button:disabled { opacity:.45; cursor:default }
#blueink-r11 .touch-bar [hidden] { display:none }
#blueink-r11 .touch-segment { display:flex; align-items:center; border-radius:17px; background:var(--glass) }
#blueink-r11 .touch-bar :is([aria-pressed="true"],[data-cmd="confirm"],[data-cmd="close"]) {
  color:var(--blue); background:var(--blue-soft); font-weight:600;
}
#blueink-r11 .touch-bar b { padding:1px 5px; border-radius:10px; background:var(--glass); font-variant-numeric:tabular-nums }
#blueink-r11 .touch-bar-spacer { flex:1 }
#blueink-r11 .touch-bar small { font-size:11px; color:var(--secondary) }
