/* ギフトのテスト案内と結果だけに適用します。 */
.gift-service-status {
  margin: 0 0 20px;
  padding: 12px 16px;
  border: 1px solid #72b9ef;
  border-radius: 12px;
  background: #eff9ff;
  color: #184d7a;
  font-size: 0.9rem;
  line-height: 1.8;
}
.gift-test-result {
  margin-top: 24px;
  padding: clamp(16px, 4vw, 24px);
  border: 2px solid #72b9ef;
  border-radius: 16px;
  background: #fff;
  color: #184d7a;
  overflow-wrap: anywhere;
}
.gift-test-result h3 { margin: 0 0 12px; font-size: 1.15rem; }
.gift-test-result p { margin: 12px 0; line-height: 1.8; }
.gift-test-result code { display: block; margin-top: 8px; font-size: 1rem; user-select: all; }
.gift-test-result summary { padding: 12px 0; cursor: pointer; font-weight: 700; }
.gift-test-result pre {
  margin: 0;
  padding: 16px;
  max-height: 420px;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #f2f9ff;
  border-radius: 8px;
  font: 0.9rem/1.8 ui-monospace, monospace;
}
.gift-test-auth {
  margin: 20px 0;
  padding: 16px;
  background: #f2f9ff;
  border: 1px solid #72b9ef;
  border-radius: 12px;
}
.gift-test-auth label { display: block; margin-bottom: 10px; font-weight: 700; }
.gift-test-auth input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #72b9ef;
  border-radius: 8px;
  background: #fff;
  color: #184d7a;
  font-size: 16px;
}
.gift-test-auth input:focus-visible { outline: 2px solid #1877cc; outline-offset: 3px; }
.gift-test-auth input[aria-invalid="true"] { border-color: #b8466b; }
