.inab-slot-guide {
  --isg-size: 68px;
  --isg-right: max(36px, env(safe-area-inset-right));
  --isg-bottom: max(36px, env(safe-area-inset-bottom));
  --isg-gap: 20px;
  --isg-light: #ece6f3;
  --isg-accent: #c9b6ee;
  --isg-muted: rgba(236, 230, 243, .7);
  position: fixed;
  z-index: 25;
  right: var(--isg-right);
  bottom: var(--isg-bottom);
  width: var(--isg-size);
  height: var(--isg-size);
  font-family: var(--f-sans, sans-serif);
  line-height: 1.45;
  color: var(--isg-light);
  pointer-events: none;
}
body:has(dialog[open]) .inab-slot-guide, .inab-slot-guide [hidden] { display: none !important; }
.inab-slot-guide button { border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.inab-slot-guide :is(button, a):focus-visible { outline: 2px solid #e8ceff; outline-offset: 3px; }
.inab-slot-guide .isg-trigger {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  background: transparent;
  border-radius: 50%;
  pointer-events: auto;
}
.isg-circle, .isg-badge { animation: isg-float 2.6s ease-in-out infinite; }
.isg-trigger::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1.5px solid rgba(185, 162, 230, .8);
  border-radius: 50%;
  pointer-events: none;
  animation: isg-pulse 1.8s ease-out infinite;
}
.isg-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #15101c;
  box-shadow: inset 0 0 0 2.5px var(--isg-light), 0 0 26px rgba(185,162,230,.7), 0 10px 30px rgba(0,0,0,.5);
  transition: filter .2s;
}
.isg-circle img { display: block; width: 100%; height: 100%; border-radius: 50%; }
.isg-trigger:hover .isg-circle { filter: brightness(1.1); }
.isg-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--isg-accent);
  box-shadow: 0 0 0 3px #15101c;
  color: #15101c;
  font-size: 12px;
  font-weight: 800;
}
.isg-hover {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translate(6px, -50%);
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(29,21,40,.94);
  box-shadow: inset 0 0 0 1px rgba(236,230,243,.12);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .2s, transform .2s;
}
.inab-slot-guide:not(.isg-tipping) .isg-trigger[aria-expanded="false"]:focus-visible + .isg-hover {
  opacity: 1;
  transform: translate(0, -50%);
}
@media (hover: hover) {
  .inab-slot-guide:not(.isg-tipping) .isg-trigger[aria-expanded="false"]:hover + .isg-hover {
    opacity: 1;
    transform: translate(0, -50%);
  }
}
.isg-tip, #isg-panel {
  position: absolute;
  right: -4px;
  bottom: calc(100% + var(--isg-gap));
  max-width: calc(100vw - var(--isg-right) - 12px);
}
.isg-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: max-content;
  padding: 12px 12px 12px 16px;
  border-radius: 16px 16px 4px 16px;
  background: var(--isg-light);
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  color: #15101c;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .35s, transform .35s cubic-bezier(.2,.7,.2,1), visibility 0s .35s;
}
.isg-tip > span { display: grid; gap: 2px; }
.isg-tip strong { font-size: 14px; font-weight: 800; }
.isg-tip small { font-size: 12px; font-weight: 500; color: #65469f; }
.isg-tip button {
  display: grid; place-items: center; flex: none; width: 28px; height: 28px; margin: -4px -4px 0 0;
  border-radius: 50%; background: rgba(101,70,159,.12); color: #65469f; font-size: 17px;
}
.isg-tip button:focus-visible { outline-color: #65469f; }
.isg-tipping .isg-tip {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s;
}
#isg-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 364px;
  max-height: calc(100vh - var(--isg-bottom) - var(--isg-size) - var(--isg-gap) - 12px);
  max-height: calc(100dvh - var(--isg-bottom) - var(--isg-size) - var(--isg-gap) - 12px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px;
  border-radius: 22px;
  background: rgba(29,21,40,.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px rgba(185,162,230,.3), 0 24px 60px rgba(0,0,0,.55);
  pointer-events: auto;
  animation: isg-pop .35s cubic-bezier(.2,.7,.2,1);
}
.isg-heading { display: flex; align-items: center; gap: 8px; }
#isg-title { margin: 0; color: var(--isg-accent); font: 500 22px/1.2 var(--f-sans, sans-serif); }
.isg-heading small { color: var(--isg-muted); font-size: 11px; }
.isg-heading .isg-close {
  display: grid; place-items: center; width: 36px; height: 36px; margin-left: auto;
  border-radius: 50%; background: rgba(236,230,243,.06); color: var(--isg-muted); font-size: 20px;
}
.isg-month {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding-bottom: 14px; border-bottom: 1px solid rgba(236,230,243,.12); text-align: center;
}
.isg-month button {
  flex: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(236,230,243,.04);
  box-shadow: inset 0 0 0 1px rgba(236,230,243,.12); font-size: 22px; font-weight: 700;
}
.isg-month button:disabled { opacity: .4; cursor: default; }
.isg-month strong { font-size: 17px; color: rgba(236,230,243,.85); }
.isg-body { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.isg-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.isg-slots {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 22px;
  width: 100%; padding: 0; margin: 0 0 10px; list-style: none;
}
.isg-slots li { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.isg-ring {
  display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 2px;
  border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(236,230,243,.25);
}
.isg-ring img { width: 46px; height: 46px; border-radius: 50%; opacity: .28; filter: grayscale(1); }
.isg-taken .isg-ring { background: rgba(236,230,243,.08); box-shadow: inset 0 0 0 2px var(--isg-light), 0 0 16px rgba(185,162,230,.45); }
.isg-taken img { opacity: 1; filter: none; }
.isg-slots li b { font-size: 13px; color: rgba(236,230,243,.8); }
.isg-slots li small { font-size: 11px; color: var(--isg-muted); }
.isg-summary { margin: 0; font-size: 17px; text-align: center; color: var(--isg-muted); }
.isg-summary b { color: var(--isg-accent); }
.isg-availability {
  margin: 0; padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
  color: var(--isg-muted); box-shadow: inset 0 0 0 1px rgba(236,230,243,.25);
}
.isg-available { color: #15101c; background: var(--isg-accent); }
.isg-feedback { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 12px; }
.isg-feedback p { margin: 0; font-size: 15px; color: var(--isg-muted); }
.isg-feedback button { border-radius: 10px; padding: 9px 14px; background: #423150; font-size: 14px; }
.isg-link {
  display: flex; flex: none; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
  border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(236,230,243,.2); color: var(--isg-accent);
  text-decoration: none; font-size: 15px; font-weight: 700;
}
.isg-link:hover, .isg-month button:enabled:hover, .isg-close:hover { background: rgba(185,162,230,.12); }
@keyframes isg-float { 50% { transform: translateY(-3px); } }
@keyframes isg-pulse { from { transform: scale(1); opacity: .75; } to { transform: scale(1.65); opacity: 0; } }
@keyframes isg-pop { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
@media (max-width: 600px), (max-height: 560px) {
  .inab-slot-guide {
    --isg-size: 52px; --isg-right: max(16px, env(safe-area-inset-right));
    --isg-bottom: max(16px, env(safe-area-inset-bottom)); --isg-gap: 14px;
  }
  .isg-badge { min-width: 22px; height: 22px; font-size: 10px; }
  #isg-panel { padding: 16px; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .inab-slot-guide *, .inab-slot-guide *::before { animation: none !important; transition: none !important; }
}
@media print { .inab-slot-guide { display: none; } }
