:root{--ds-ink:#20301c;--ds-ink-2:#5d6f57;--ds-hairline:#e4e9e0;}
html, body { margin: 0; min-height: 100%; }
body {
  background-color: #f2f9ec;
  background-image: radial-gradient(900px 420px at 100% 0%, #e6f5d8 0%, rgba(230,245,216,0) 65%), radial-gradient(760px 520px at 0% 40%, #fdf7e3 0%, rgba(253,247,227,0) 62%), linear-gradient(180deg, #f7fcf3 0%, #eef7e5 100%);
  background-repeat: no-repeat;
}

.pgo-hero { position: relative; margin: 0 0 18px; padding: 26px 20px 22px; border-radius: 22px; background-size: cover; background-position: center 40%; overflow: hidden; }
.pgo-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0.86) 0%, rgba(255,255,255,0.74) 55%, rgba(244,250,240,0.92) 100%); }
.pgo-hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.pgo-logo { display: block; width: 150px; max-width: 58%; height: auto; }
.pgo-title { margin: 2px 0 0; font-size: 26px; line-height: 1.3; font-weight: 400; letter-spacing: -0.02em; }
.pgo-sub { margin: 0; max-width: 30em; color: var(--ds-ink-2); font-size: 14px; line-height: 1.8; }
.pgo-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }
.pgo-pill { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--ds-hairline); font-size: 12.5px; color: var(--ds-ink); }
.pgo-pill-soft { background: #eef6ea; border-color: #dcebd5; color: #3d6b34; }

.pgo-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 14px; margin: 0 -4px; scrollbar-width: none; }
.pgo-chips::-webkit-scrollbar { display: none; }
.pgo-chips a { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--ds-hairline); background: #fbfbfa; color: var(--ds-ink-2); font-size: 13px; text-decoration: none; white-space: nowrap; }
.pgo-chips a:active { background: #eef6ea; }

.pgo-section { margin: 0 0 26px; scroll-margin-top: 12px; }
.pgo-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.pgo-sec-title { margin: 0; padding-inline-start: 12px; border-inline-start: 4px solid #7fb069; font-size: 20px; line-height: 1.4; font-weight: 400; }
.pgo-sec-count { color: var(--ds-ink-2); font-size: 12.5px; white-space: nowrap; }

.pgo-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 700px) { .pgo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .pgo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.pgo-card { display: flex; flex-direction: column; border: 1px solid var(--ds-hairline); border-radius: 18px; background: #fff; overflow: hidden; }
.pgo-card.is-picked { border-color: #8fbf80; box-shadow: 0 0 0 1px #8fbf80 inset; }
.pgo-stage { display: flex; align-items: center; justify-content: center; height: 196px; padding: 16px; background: radial-gradient(120% 90% at 50% 20%, #f6fbf2 0%, #eef6ea 55%, #f7faf5 100%); }
.pgo-pack { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 14px 12px rgba(46, 74, 38, 0.22)); }
.pgo-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 12px; }
.pgo-name { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.5; }
.pgo-en { color: var(--ds-ink-2); font-size: 12px; text-align: start; }
.pgo-ai { margin: 0; font-size: 13px; line-height: 1.75; }
.pgo-k { color: var(--ds-ink-2); font-size: 12.5px; }
.pgo-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pgo-tag { padding: 4px 10px; border-radius: 8px; background: #f4f8f1; border: 1px solid #e3eedd; color: #3d6b34; font-size: 12px; }
.pgo-tag-soft { background: #fbfbfa; border-color: var(--ds-hairline); color: var(--ds-ink-2); }
.pgo-agent { color: #2f6b5f; font-size: 12.5px; font-weight: 600; }
.pgo-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--ds-hairline); }
.pgo-qtylabel { color: var(--ds-ink-2); font-size: 12.5px; }
.pgo-step { display: flex; align-items: center; gap: 4px; }
.pgo-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--ds-hairline); border-radius: 12px; background: #fff; color: var(--ds-ink); font-size: 20px; line-height: 1; cursor: pointer; }
.pgo-btn:active { background: #eef6ea; }
.pgo-qty { min-width: 26px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }

.pgo-order { margin: 0 0 8px; padding: 18px 16px; border-radius: 20px; background: linear-gradient(180deg, #f7fbf4 0%, #ffffff 70%); border: 1px solid #e6efe0; }
.pgo-list { display: grid; gap: 8px; margin: 0 0 4px; padding: 0; list-style: none; }
.pgo-list li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--ds-hairline); font-size: 14px; }
.pgo-list-qty { color: var(--ds-ink-2); white-space: nowrap; }
.pgo-fields { display: grid; gap: 12px; margin-top: 16px; }
@media (min-width: 700px) { .pgo-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pgo-field { display: grid; gap: 6px; }
.pgo-field label { color: var(--ds-ink-2); font-size: 13px; }
.pgo-field input { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid var(--ds-hairline); border-radius: 12px; background: #fff; color: var(--ds-ink); font: inherit; font-size: 16px; }
.pgo-field input:focus { outline: 2px solid #8fbf80; outline-offset: 1px; }
.pgo-sendbox { display: grid; gap: 10px; margin-top: 18px; }
.pgo-send { display: block; padding: 16px 20px; border-radius: 999px; background: #2f6b5f; color: #fff; font-size: 16px; font-weight: 600; text-align: center; text-decoration: none; }
.pgo-send:active { opacity: 0.9; }
.pgo-hint { margin: 12px 0 0; color: var(--ds-ink-2); font-size: 13px; line-height: 1.8; }
.pgo-sendbox .pgo-hint { margin: 0; }
.pgo-copy { display: flex; justify-content: flex-start; }
.pgo-preview { margin: 0; padding: 12px; border: 1px solid var(--ds-hairline); border-radius: 12px; background: #fbfbfa; font-size: 12.5px; line-height: 1.9; white-space: pre-wrap; word-break: break-word; }
@media (max-width: 359px) { .pgo-actions { flex-wrap: wrap; } .pgo-stage { height: 172px; } }

.pgo-geo { margin-top: 14px; padding: 14px; border-radius: 16px; background: rgba(233, 244, 231, 0.85); border: 1px dashed #b7d3ad; display: grid; gap: 8px; }
.pgo-geo-btn { justify-self: start; border: 0; border-radius: 999px; padding: 12px 20px; font: inherit; font-weight: 700; cursor: pointer; background: #2f7d3a; color: #fff; box-shadow: 0 6px 14px rgba(47, 125, 58, 0.28); }
.pgo-geo-btn:disabled { opacity: 0.7; cursor: progress; }
.pgo-geo-note { margin: 0; font-size: 13px; color: #45603f; }
.pgo-geo-err { color: #a3431f; }
.pgo-field-wide { margin-top: 4px; }

.pgo-page { margin: 0 -2px; padding-bottom: 8px; background-repeat: repeat; background-size: 104px 104px; }
.pgo-card { background: #fffef9; }

.pgo-install { margin: 0 0 12px; }
.pgo-install-btn { width: 100%; border: 0; border-radius: 14px; padding: 14px 18px; font: inherit; font-weight: 700; cursor: pointer; background: #2f7d3a; color: #fff; box-shadow: 0 8px 18px rgba(47,125,58,0.25); }
.pgo-install-hint { margin: 0; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,0.85); border: 1px dashed #b7d3ad; color: #45603f; font-size: 13px; line-height: 1.8; }

.pgo-reg { margin: 0 0 16px; padding: 16px; border-radius: 18px; background: #fffef9; border: 1px solid #dbead2; box-shadow: 0 6px 18px rgba(60,90,50,0.06); }
.pgo-reg-title { margin: 0 0 4px; font-size: 18px; font-weight: 700; color: #2f5c2a; }
.pgo-reg-sub { margin: 0; font-size: 13px; color: #45603f; line-height: 1.8; }
.pgo-reg-btn { margin-top: 14px; width: 100%; border: 0; border-radius: 14px; padding: 14px 18px; font: inherit; font-weight: 700; cursor: pointer; background: #2f7d3a; color: #fff; }
.pgo-reg-btn:disabled { background: #b9cfb0; cursor: not-allowed; }
.pgo-profile { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 14px 0 0; padding: 10px 14px; border-radius: 14px; background: #f0f8ea; border: 1px solid #d9ead0; font-size: 13.5px; color: #3d5a36; }
.pgo-profile-edit { border: 1px solid #b7d3ad; background: #fff; color: #2f5c2a; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 12.5px; cursor: pointer; }
.pgo-confirm { margin: 16px 0 0; padding: 16px; border-radius: 18px; background: #eaf6e1; border: 1px solid #b7d3ad; }
.pgo-confirm-head { font-size: 17px; font-weight: 700; color: #2f5c2a; }
.pgo-confirm-line { margin: 6px 0 0; font-size: 14px; color: #3d5a36; }
.pgo-confirm-note { margin: 8px 0 12px; font-size: 13px; line-height: 1.9; color: #3d5a36; }
.pgo-send-small { display: inline-block; margin-bottom: 10px; }

.pgo-wrap { max-width: 720px; margin: 0 auto; padding: 14px 14px 30px; }
.pgo-callout { margin: 0 0 18px; padding: 12px 14px; border-radius: 14px; background: #fffdf3; border: 1px solid #eadfbb; color: #5a4c22; font-size: 13px; line-height: 1.8; }
.pgo-callout b { display: block; margin-bottom: 2px; color: #4a3d18; }
.pgo-closing { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid #e4e9e0; color: #5d6f57; font-size: 12.5px; line-height: 1.9; }
.pgo-copybtn { border: 1px solid #cfdcc8; background: #fff; color: #2f5c2a; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 13px; cursor: pointer; }
.pgo-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
.pgo-chip { padding: 5px 10px; border-radius: 999px; background: #f4f7f1; border: 1px solid #e4e9e0; font-size: 12px; color: #43533d; }
.pgo-ai { margin: 8px 0 0; color: #43533d; font-size: 12.8px; line-height: 1.8; }
.pgo-body { padding: 12px 14px 14px; }
.pgo-maker { margin: 8px 0 0; color: #6b7a64; font-size: 12px; }
.pgo-photo { max-height: 100%; max-width: 100%; filter: drop-shadow(0 10px 14px rgba(60,90,50,0.18)); }
.pgo-step { width: 38px; height: 38px; border-radius: 12px; border: 1px solid #d7e2d1; background: #fff; font-size: 20px; line-height: 1; color: #2f5c2a; cursor: pointer; }
.pgo-step:active { background: #eef6ea; }
.pgo-preview { margin: 0; padding: 12px; border-radius: 12px; background: #f7f9f4; border: 1px solid #e4e9e0; font-size: 12px; line-height: 1.9; white-space: pre-wrap; word-break: break-word; color: #43533d; }
.pgo-send { display: block; text-align: center; text-decoration: none; padding: 15px 18px; border-radius: 14px; background: #2f7d3a; color: #fff; font-weight: 700; box-shadow: 0 10px 20px rgba(47,125,58,0.22); }
.pgo-hint { margin: 0; color: #5d6f57; font-size: 12.5px; line-height: 1.8; }
.pgo-copy { margin: 4px 0 0; }
.pgo-list-qty { color: #2f5c2a; font-weight: 600; }
.pgo-order { margin-top: 8px; }
input { font: inherit; padding: 11px 12px; border-radius: 12px; border: 1px solid #d7e2d1; background: #fff; color: #20301c; width: 100%; box-sizing: border-box; }
label { font-size: 12.5px; color: #5d6f57; }
