.odette-concierge {
  position: fixed;
  z-index: 43;
  right: 92px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: flex-end;
  gap: 12px;
  max-width: calc(100vw - 112px);
  color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", sans-serif;
  pointer-events: none;
}

.odette-concierge[hidden],
.odette-concierge [hidden],
body.dialog-open .odette-concierge {
  display: none !important;
}
body:has(dialog[open]) .odette-concierge { display: none !important; }

.concierge-avatar {
  position: relative;
  flex: 0 0 92px;
  width: 92px;
  height: 120px;
  border: 0;
  border-radius: 24px;
  background: transparent;
  padding: 0;
  cursor: pointer;
  pointer-events: auto;
  filter: drop-shadow(0 6px 12px rgba(25, 25, 28, 0.12));
}

.concierge-sprite {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.concierge-sprite-open { opacity: 0; }
.concierge-avatar.is-speaking-frame .concierge-sprite-open { opacity: 1; }
.concierge-avatar.is-speaking-frame .concierge-sprite-closed { opacity: 0; }
.concierge-avatar-fallback {
  position: absolute;
  right: 18px;
  bottom: 0;
  display: none;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(29, 29, 31, 0.1);
  border-radius: 50%;
  background: #fff;
  color: #1d1d1f;
  font: italic 29px/1 Georgia, serif;
}
.concierge-avatar.is-image-missing .concierge-avatar-fallback { display: grid; }

.concierge-panel {
  position: relative;
  width: 292px;
  max-width: calc(100vw - 220px);
  border: 1px solid rgba(29, 29, 31, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.97);
  padding: 18px 20px 15px;
  box-shadow: 0 10px 38px rgba(29, 29, 31, 0.1);
  pointer-events: auto;
}
.concierge-panel::after {
  position: absolute;
  right: -6px;
  bottom: 29px;
  width: 11px;
  height: 11px;
  border-top: 1px solid rgba(29, 29, 31, 0.1);
  border-right: 1px solid rgba(29, 29, 31, 0.1);
  background: #fff;
  transform: rotate(45deg);
  content: "";
}
.concierge-identity { margin: 0 28px 8px 0; color: #6e6e73; font-size: 10px; line-height: 1.5; letter-spacing: 0.035em; }
.concierge-title { margin: 0 0 7px; color: #1d1d1f; font-size: 14px; font-weight: 600; line-height: 1.5; }
.concierge-welcome { margin: 0; color: #515156; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.concierge-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #f5f5f7;
  color: #6e6e73;
  padding: 0;
  cursor: pointer;
}
.concierge-close svg, .concierge-speech svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.concierge-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 13px; }
.concierge-contact { border-radius: 999px; background: #1d1d1f; color: #fff; padding: 8px 12px; font-size: 10px; font-weight: 500; line-height: 1.5; text-decoration: none; }
.concierge-contact:hover { background: #333335; }
.concierge-speech { display: inline-flex; align-items: center; gap: 4px; border: 0; border-radius: 999px; background: transparent; color: #515156; padding: 6px 0; font-size: 10px; line-height: 1.5; cursor: pointer; }
.concierge-speech:disabled { color: #86868b; cursor: default; }
.concierge-disclosure { margin: 10px 0 0; color: #6e6e73; font-size: 9px; line-height: 1.6; }
.concierge-status { margin: 9px 0 0; color: #6e6e73; font-size: 10px; line-height: 1.6; }
.concierge-avatar:focus-visible, .concierge-close:focus-visible, .concierge-contact:focus-visible, .concierge-speech:focus-visible { outline: 2px solid #1d1d1f; outline-offset: 4px; }

@media (max-width: 820px) {
  .odette-concierge {
    right: 82px;
    bottom: calc(136px + env(safe-area-inset-bottom, 0px));
    display: block;
    max-width: 70px;
  }
  .concierge-avatar { display: block; width: 70px; height: 84px; border-radius: 18px; }
  .concierge-avatar-fallback { right: 10px; width: 48px; height: 48px; }
  .concierge-panel {
    position: absolute;
    right: -55px;
    bottom: 96px;
    width: min(272px, calc(100vw - 40px));
    max-width: none;
    border-radius: 18px;
    padding: 16px 18px 13px;
  }
  .concierge-panel::after { right: 77px; bottom: -6px; border-top: 0; border-right: 1px solid rgba(29, 29, 31, 0.1); border-bottom: 1px solid rgba(29, 29, 31, 0.1); }
  .concierge-close { top: 9px; right: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .odette-concierge *, .odette-concierge *::before, .odette-concierge *::after { animation: none !important; transition: none !important; }
}
