.akiba-cards-app-ui {
  position: fixed;
  z-index: 2147483003;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  box-sizing: border-box;
  min-width: 74px;
  min-height: 64px;
  max-width: 152px;
  padding: 6px 7px 5px;
  border: 2px solid #152448;
  border-radius: 18px 18px 8px 18px;
  background: linear-gradient(147deg, #fff5b2, #ffe050 54%, #ffcf23);
  color: #152448;
  box-shadow: inset 0 1px 0 #fff8cc, 0 4px 0 #152448, 0 7px 16px #09142757;
  font: 800 12px/1.1 'DM Sans', system-ui, sans-serif;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
.akiba-cards-app-ui[hidden] { display: none !important; }
.akiba-cards-app-ui:focus-visible { outline: 3px solid #152448; outline-offset: 6px; }
.akiba-cards-app-ui:active { transform: translateY(2px); box-shadow: inset 0 1px 0 #fff8cc, 0 2px 0 #152448; }
.akiba-cards-app-phone {
  display: grid;
  place-items: center;
  width: 20px;
  height: 28px;
  box-sizing: border-box;
  border: 2px solid #152448;
  border-bottom-width: 3px;
  border-radius: 5px;
  background: #fff9db;
  transform: rotate(-9deg);
}
.akiba-cards-app-ball {
  display: grid;
  place-items: center;
  width: 13px;
  height: 13px;
  box-sizing: border-box;
  border: 1px solid #152448;
  border-radius: 50%;
  background: linear-gradient(#ee5262 0 43%, #152448 43% 57%, #fffef7 57%);
}
.akiba-cards-app-ball::after { content: ''; width: 5px; height: 5px; box-sizing: border-box; border: 1px solid #152448; border-radius: 50%; background: #fffef7; }
.akiba-cards-app-heart {
  position: absolute;
  right: 7px;
  top: 5px;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  box-sizing: border-box;
  border: 1px solid #152448;
  border-radius: 50%;
  background: #fffbdf;
  color: #c72340;
  transform: rotate(12deg);
}
.akiba-cards-app-guide { font: 600 10px/1.2 'DM Sans', system-ui, sans-serif; }
@media (max-width: 767px) {
  .akiba-cards-app-ui { bottom: calc(104px + env(safe-area-inset-bottom)); }
  body:has(> .akiba-cards-app-ui:not([hidden])) .akiba-analytics-panel {
    bottom: calc(104px + env(safe-area-inset-bottom));
    max-height: calc(100dvh - 208px - env(safe-area-inset-bottom));
    overflow-y: auto;
  }
}
