/* Lisa, the AI guide: a compact bubble with a round L monogram (play/lisa-ui.js). Game tokens only, no outside logo. */
.lisa-l { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  font: 700 15px/1 var(--hud, "Rajdhani", system-ui); color: #E8F2F8; letter-spacing: 0;
  background: radial-gradient(circle at 35% 30%, rgba(114,220,255,.45), rgba(14,24,34,.95) 70%);
  border: 1.5px solid #72DCFF; box-shadow: 0 0 12px -3px #18BFFF; }
.lisa { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; padding: 10px 12px; border-radius: 12px; min-width: 0; text-align: left;
  background: linear-gradient(135deg, rgba(24,191,255,.12), rgba(14,24,34,.92) 55%); border: 1px solid rgba(114,220,255,.35); }
.lisa-b { flex: 1; min-width: 0; display: grid; gap: 4px; }
.lisa-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lisa-h small { font: 600 10.5px var(--mono, monospace); letter-spacing: .1em; text-transform: uppercase; color: #72DCFF; }
.lisa-x { background: none; border: 0; padding: 4px 2px; color: var(--dim, #8FA3B0); font: 600 10.5px var(--mono, monospace); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.lisa-x:hover { color: var(--text, #E8F2F8); }
.lisa p { margin: 0; font-size: 13.5px; line-height: 1.45; color: #d6e4ec; overflow-wrap: anywhere; }
.lisa p + p { margin-top: 2px; }
.lisa .lisa-note { font-size: 12px; color: var(--dim, #8FA3B0); border-left: 2px solid rgba(114,220,255,.5); padding-left: 8px; }
.lisa.off { display: block; padding: 0; border: 0; background: none; }
.lisa-on { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 2px 0; color: var(--dim, #8FA3B0); font: 600 12px var(--sans, system-ui); cursor: pointer; opacity: .8; }
.lisa-on .lisa-l { width: 22px; height: 22px; font-size: 12px; box-shadow: none; }
.lisa-on:hover { opacity: 1; color: var(--text, #E8F2F8); }
/* in the match strip: smaller, so the hand and the buttons keep their room */
.lisa.compact { margin-top: 6px; padding: 6px 8px; gap: 8px; }
.lisa.compact .lisa-l { width: 22px; height: 22px; font-size: 12px; }
.lisa.compact p { font-size: 12.5px; }
.lisa.compact .lisa-c { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; cursor: pointer; }
.lisa.compact.open .lisa-c { display: block; -webkit-line-clamp: unset; line-clamp: none; }
.lisa.compact .lisa-c small { font: 600 10px var(--mono, monospace); letter-spacing: .08em; text-transform: uppercase; color: #72DCFF; margin-right: 4px; }
/* her line already carries the card's meaning, so the strip does not print it twice */
.handbar .detail:has(.lisa:not(.off)) .means { display: none; }
/* sideways phones: the dock is narrow and short, two lines until tapped */
@media (orientation: landscape) and (max-height: 560px) { .lisa.compact .lisa-c { -webkit-line-clamp: 2; line-clamp: 2; } }
/* the guide box reads as Lisa: badge on the left */
.coach .lisa-l { width: 26px; height: 26px; font-size: 14px; margin-top: 1px; }
.coach .coach-b { flex: 1; min-width: 0; }
.coach .coach-b small { display: block; font: 600 10px var(--mono, monospace); letter-spacing: .1em; text-transform: uppercase; color: #72DCFF; margin-bottom: 2px; }
/* the result panel can grow taller than a sideways phone: let it scroll */
#result { overflow-y: auto; }
@media (max-height: 760px) { #result { place-items: start center; } }
/* account panel switch */
.acct .lisa-set { display: flex; gap: 8px; align-items: center; }
@media (pointer: coarse) {
  .lisa-x { min-height: 36px; padding: 6px 4px; }
  .lisa-on { min-height: 36px; }
}
@media (prefers-reduced-motion: reduce) { .lisa, .lisa * { animation: none !important; transition: none !important; } }
