/* 離席と退出 (10-20・中身は idle_ui.js): 「まだいますか？」と「街を出ました」の窓 */
.idAsk, .idOut { position: fixed; inset: 0; z-index: 9500; display: grid; place-items: center; padding: 16px; }
.idAsk { background: rgba(10, 14, 26, 0.35); }
.idOut { background: rgba(8, 12, 22, 0.78); }
.idAsk.hidden, .idOut.hidden { display: none; }
.idCard { background: #fffdf6; color: #2b2116; border: 3px solid #2f3b57; border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  padding: 18px 22px 20px; max-width: min(420px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; text-align: center; }
.idCard h2 { margin: 4px 0 8px; font-size: 20px; line-height: 1.4; }
.idCard p { margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: #4a4036; }
.idIcon { font-size: 34px; line-height: 1; }
.idBtn { font: inherit; font-size: 17px; font-weight: bold; min-width: 160px; min-height: 44px; padding: 8px 22px; border-radius: 999px; border: 2px solid #1f5fa8;
  background: #2f7bd8; color: #fff; cursor: pointer; }
.idBtn:hover { background: #2a6fc4; }
.idBtn:focus-visible { outline: 3px solid #ffd23f; outline-offset: 2px; }
/* スマホの横 (背が低い): 窓を小さく */
@media (max-height: 420px) {
  .idCard { padding: 10px 16px 12px; }
  .idCard h2 { font-size: 17px; margin: 2px 0 4px; }
  .idCard p { font-size: 13px; margin: 0 0 8px; }
  .idIcon { font-size: 24px; }
  .idBtn { min-height: 40px; font-size: 16px; }
}
