* {
  box-sizing: border-box;
}

:root {
  --oshi-bg-1: #fff6fb;
  --oshi-bg-2: #f4fbff;
  --oshi-card: #ffffff;
  --oshi-text: #2e2d40;
  --oshi-soft: #6b6378;
  --oshi-accent: #e84f92;
  --oshi-accent-2: #7c6ff0;
  --oshi-border: #f2cfe0;
  --oshi-shadow: 0 14px 34px rgba(154, 76, 124, 0.12);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--oshi-text);
  background: radial-gradient(circle at 8% 12%, #ffe2f0 0, transparent 32%), radial-gradient(circle at 88% 4%, #e2f6ff 0, transparent 34%), linear-gradient(150deg, var(--oshi-bg-1), var(--oshi-bg-2));
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif;
  line-height: 1.75;
}

.oshi-snap-page {
  width: min(1060px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 58px;
}

.oshi-snap-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
}

.oshi-snap-label {
  margin: 0 0 6px;
  color: var(--oshi-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.oshi-snap-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(34px, 8vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

.oshi-snap-lead {
  margin: 0 0 12px;
  color: #7a3760;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 800;
  line-height: 1.45;
}

.oshi-snap-text {
  margin: 0;
  color: var(--oshi-soft);
  font-size: 14px;
}

.oshi-snap-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.oshi-snap-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--oshi-accent), var(--oshi-accent-2));
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
}

.oshi-snap-button:hover,
.oshi-snap-button:focus-visible {
  color: #fff;
  opacity: 0.92;
  transform: translateY(-1px);
  text-decoration: none;
}

.oshi-snap-button-ghost {
  color: #7a3760;
  background: #fff;
  border: 1px solid var(--oshi-border);
}

.oshi-snap-button-ghost:hover,
.oshi-snap-button-ghost:focus-visible {
  color: #7a3760;
}

.oshi-snap-preview {
  position: relative;
  min-height: 330px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--oshi-border);
  border-radius: 18px;
  box-shadow: var(--oshi-shadow);
}

.oshi-snap-preview iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 12px;
  background: #f8f2f6;
}

.oshi-snap-panel {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(250px, 48%);
  padding: 12px;
  background: #fff7fb;
  border: 1px solid #ffc5dd;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(61, 38, 69, 0.16);
}

.oshi-snap-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  color: #543248;
  font-size: 13px;
}

.oshi-snap-panel-head span {
  color: #b06c8b;
  font-size: 11px;
  font-weight: 700;
}

.oshi-snap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.oshi-snap-grid span {
  display: block;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #ff9dca, #8178f4);
  border-radius: 8px;
}

.oshi-snap-grid span:nth-child(2) {
  background: linear-gradient(135deg, #95d8ff, #f5a8d0);
}

.oshi-snap-grid span:nth-child(3) {
  background: linear-gradient(135deg, #ffe5a7, #ff8ebd);
}

.oshi-snap-grid span:nth-child(4) {
  background: linear-gradient(135deg, #b7f2df, #9ca0ff);
}

.oshi-snap-section {
  margin-top: 18px;
  padding: 22px;
  background: var(--oshi-card);
  border: 1px solid var(--oshi-border);
  border-radius: 16px;
  box-shadow: var(--oshi-shadow);
}

.oshi-snap-section h2 {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.35;
}

.oshi-snap-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.oshi-snap-cards article {
  padding: 14px;
  background: #fffafd;
  border: 1px solid #f4d7e6;
  border-radius: 12px;
}

.oshi-snap-cards h3 {
  margin: 0 0 8px;
  color: #7a3760;
  font-size: 15px;
  line-height: 1.4;
}

.oshi-snap-cards p,
.oshi-snap-note p {
  margin: 0;
  color: var(--oshi-soft);
  font-size: 13px;
}

.oshi-snap-note p + p {
  margin-top: 8px;
}

.oshi-snap-privacy-list {
  display: grid;
  gap: 8px;
  margin: 10px 0;
  padding-left: 20px;
  color: var(--oshi-soft);
  font-size: 13px;
}

.oshi-snap-flow ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  color: var(--oshi-soft);
  font-size: 14px;
}

.oshi-snap-note code {
  padding: 2px 5px;
  color: #7a3760;
  background: #fff2f8;
  border-radius: 6px;
  font-family: Consolas, Monaco, monospace;
  font-size: 12px;
}

@media (max-width: 760px) {
  .oshi-snap-page {
    width: min(100% - 24px, 640px);
    padding-top: 24px;
  }

  .oshi-snap-hero,
  .oshi-snap-cards {
    grid-template-columns: 1fr;
  }

  .oshi-snap-preview {
    min-height: 260px;
  }

  .oshi-snap-panel {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .oshi-snap-button {
    width: 100%;
  }
}
