.emidoku-app-overlay, .emidoku-app-overlay * { box-sizing: border-box; }
.emidoku-app-overlay {
  position: absolute; inset: 0; z-index: 80;
  display: grid; place-items: center; padding: max(18px, env(safe-area-inset-top)) 0 max(18px, env(safe-area-inset-bottom));
  background: rgb(57 35 42 / 58%); touch-action: manipulation;
  font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Maru Gothic ProN', 'Yu Gothic', sans-serif;
  color: #794c4e; line-height: 1.5;
}
.emidoku-app-overlay[hidden] { display: none; }
.emidoku-app-card {
  position: relative; width: 88%; max-height: 100%; overflow-y: auto;
  padding: 6.5cqw 5cqw 4cqw; border: 2px solid #fff; border-radius: 7cqw;
  background: #fff9ed; text-align: center;
  box-shadow: 0 7px 0 rgb(99 49 61 / 12%), 0 18px 50px rgb(44 22 30 / 24%);
  animation: emidoku-app-arrive 220ms ease-out;
}
.emidoku-app-close {
  position: absolute; top: 2cqw; right: 2cqw; width: 44px; height: 44px;
  padding: 0; border: 0; border-radius: 50%; background: #f4e8df; color: #8c6260;
  font: 400 30px/1 sans-serif; cursor: pointer;
}
.emidoku-app-eyebrow { margin: 0 7cqw 1.5cqw; color: #a37365; font-size: 3.6cqw; font-weight: 700; letter-spacing: .08em; }
.emidoku-app-title { margin: 0; color: #df6c83; font-size: 7.9cqw; font-weight: 800; line-height: 1.28; white-space: pre-line; }
.emidoku-app-emmy { display: block; width: 64cqw; height: 64cqw; max-width: 100%; object-fit: contain; margin: 1.5cqw auto 0; }
.emidoku-app-copy { margin: 1cqw 0 4cqw; font-size: 3.6cqw; font-weight: 600; white-space: pre-line; }
.emidoku-app-actions { display: flex; }
.emidoku-app-store {
  display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center;
  min-height: 56px; padding: 2cqw 1cqw; border: 2px solid #ec8ba0; border-radius: 4cqw;
  background: #ee8da2; color: #fff; text-decoration: none; box-shadow: 0 4px 0 #cf6b83;
}
.emidoku-app-store-caption { font-size: 3cqw; font-weight: 600; }
.emidoku-app-store-name { font-size: 4.9cqw; font-weight: 800; line-height: 1.3; }
.emidoku-app-overlay :focus-visible { outline: 3px solid #56788e; outline-offset: 3px; }
@keyframes emidoku-app-arrive { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .emidoku-app-card { animation: none; } }
.emidoku-app-overlay[data-reduced-motion="true"] .emidoku-app-card { animation: none; }
@media (max-height: 550px) { .emidoku-app-emmy { width: 38cqw; height: 38cqw; } }
