* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  background: #fff;
  color: #2a2a2a;
}

#pdf {
  width: 100vw;
  height: 100vh;
  border: none;
  display: block;
}

.escape-hatch {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  padding: 0.625rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: inherit;
  color: #fff;
  background: rgba(30, 30, 30, 0.82);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: background 0.15s ease, transform 0.15s ease;
}

.escape-hatch:hover {
  background: rgba(30, 30, 30, 0.95);
  transform: translateY(-1px);
}

.fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  padding: 2rem;
}

.fallback[hidden] {
  display: none;
}

.fallback-content {
  width: 100%;
  max-width: 720px;
}

.fallback-content h1 {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
  color: #2f2f33;
  letter-spacing: -0.02em;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem 1.75rem;
  background: #f5f5f7;
  color: #2f2f33;
  text-decoration: none;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.15s ease;
}

.download-btn:hover {
  background: #ebebed;
}

.icon {
  width: 22px;
  height: 22px;
  color: #9ca3af;
  flex-shrink: 0;
}
