/* PO Chat boot — ページ表示時はボタンだけの最小CSS。本体CSSは初回タップ時に読み込む */
#poch-open {
  position: fixed;
  right: 14px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 9990;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0A192F;
  color: #fff;
  border: none;
  border-radius: 0;
  padding: 10px 14px 10px 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(10, 25, 47, .28);
  -webkit-tap-highlight-color: transparent;
  animation: pochIn .5s cubic-bezier(.22, .8, .32, 1) .5s backwards;
}
.poch-open-mark {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  background: #fff;
  color: #0A192F;
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
}
@keyframes pochIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (min-width: 821px) {
  #poch-open { bottom: 20px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  #poch-open { animation: none; }
}

/* たまに語りかける吹き出し */
.poch-nudge {
  position: fixed;
  right: 12px;
  bottom: calc(76px + env(safe-area-inset-bottom));
  z-index: 9989;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  max-width: 240px;
  background: #fff;
  border: 1px solid #0A192F;
  border-radius: 0;
  color: #111;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.65;
  padding: 10px 9px 10px 13px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(10, 25, 47, .16);
  animation: pochNudgeIn .45s cubic-bezier(.22, .8, .32, 1) both;
}
.poch-nudge::after {
  content: '';
  position: absolute;
  right: 30px;
  bottom: -6px;
  width: 10px;
  height: 10px;
  background: #fff;
  border-right: 1px solid #0A192F;
  border-bottom: 1px solid #0A192F;
  transform: rotate(45deg);
}
@keyframes pochNudgeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.poch-nudge-x {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 0;
  background: #F2F2F2;
  border: none;
  color: #666;
  font-size: 13px;
  line-height: 20px;
  text-align: center;
  padding: 0;
  cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
  .poch-nudge { animation: none; }
}
