/* status: DRAFT | experiment: first-page-comparison | real-device-review: pending */
:root {
  color-scheme: light;
  font-family: Arial, sans-serif;
  background: #10294c;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background:
    repeating-linear-gradient(68deg, rgb(255 255 255 / 3%) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(112deg, rgb(0 0 0 / 8%) 0 1px, transparent 1px 5px),
    #10294c;
}

button {
  font: inherit;
}

.invitation {
  width: 100%;
  max-width: 390px;
  min-height: 100%;
  margin: 0 auto;
  overflow: visible;
}

.page {
  display: grid;
  width: 100%;
  height: auto;
  padding: 0;
  place-items: center;
  overflow: hidden;
}

.sheet {
  display: grid;
  width: 100%;
  height: auto;
  place-items: center;
  overflow: hidden;
}

.sheet img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  -webkit-user-drag: none;
  user-select: none;
}

.candidate-divider {
  width: 100%;
  height: 1px;
  margin: 24px 0;
  border: 0;
  background: rgb(255 255 255 / 70%);
}

.share-panel {
  width: min(100% - 32px, 358px);
  margin: 32px auto;
  padding: 24px 20px;
  border-radius: 18px;
  color: #191919;
  background: #fff;
  box-shadow: 0 12px 32px rgb(0 0 0 / 24%);
}

.share-panel h2,
.share-panel p {
  margin: 0;
}

.share-panel h2 {
  font-size: 1.25rem;
}

.share-panel > p {
  margin-top: 8px;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

.share-actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.share-button {
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.share-button:focus-visible {
  outline: 3px solid #10294c;
  outline-offset: 2px;
}

.share-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.share-button--kakao {
  color: #191919;
  background: #fee500;
}

.share-button--copy {
  color: #fff;
  background: #10294c;
}

.share-panel .share-status {
  min-height: 1.5em;
  margin-top: 12px;
  color: #315f46;
  font-size: 0.85rem;
}

.share-panel .share-status.is-error {
  color: #a12828;
}

@media (min-width: 560px) {
  .invitation {
    box-shadow: 0 0 42px rgb(0 0 0 / 45%);
  }
}
