/* Pfotengut pet book funnel — sections/pg-book-configurator.liquid. Full screen, Miracles style (Daniel, 2026-11-09). */
.pgb-how { text-align: center; padding: 40px 20px; }
.pgb-how__title { margin-bottom: 24px; }
.pgb-how__steps { list-style: none; margin: 0 auto 28px; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); max-width: 900px; }
.pgb-how__steps li { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; }
.pgb-how__steps strong { font-size: 1.1em; }
.pgb-how__num { width: 40px; height: 40px; border-radius: 50%; background: var(--pgb-band, #1f2a5c); color: #fff; display: grid; place-items: center; font-weight: 700; }
@media (max-width: 768px) { .pgb-how__steps { grid-template-columns: 1fr; } }
.pgb-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -2px 12px rgba(0,0,0,.12); }
@media (min-width: 769px) { .pgb-sticky { display: none !important; } }
.pgb-sticky[hidden] { display: none; }

html.pgb-lock, html.pgb-lock body { overflow: hidden; }
.pgb[hidden], .pgb [hidden] { display: none !important; }
.pgb {
  --pgb-cream: #fbf8f2; --pgb-ink: #1d2340; --pgb-muted: #6b6f80; --pgb-line: #e6e2d8; --pgb-ok: #1e9e5a;
  position: fixed; inset: 0; z-index: 10000; background: var(--pgb-cream); color: var(--pgb-ink);
  overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  font-size: 16px; line-height: 1.5; padding-bottom: calc(96px + env(safe-area-inset-bottom));
}
.pgb.pgb--nobar { padding-bottom: 24px; }

/* top band */
.pgb-band { position: relative; background: var(--pgb-band, #1f2a5c); color: #fff; text-align: center; padding: 14px 56px 120px; overflow: hidden; }
.pgb-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle at 12% 30%, #fff 0 1.2px, transparent 2px), radial-gradient(circle at 82% 22%, #fff 0 1.4px, transparent 2.2px),
    radial-gradient(circle at 70% 70%, #fff 0 1px, transparent 1.8px), radial-gradient(circle at 25% 75%, #fff 0 1px, transparent 1.8px),
    radial-gradient(circle at 92% 60%, #fff 0 1.2px, transparent 2px), radial-gradient(circle at 45% 18%, #fff 0 .9px, transparent 1.6px); }
.pgb-band__top { position: relative; }
.pgb-band__name { margin: 0; font-weight: 700; font-size: 17px; letter-spacing: .01em; }
.pgb-band__trust { margin: 2px 0 0; font-size: 12.5px; opacity: .92; display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; }
.pgb-band__trust span { display: inline-flex; align-items: center; gap: 5px; }
.pgb-band__trust svg { color: var(--pgb-accent, #f2b33d); }
.pgb-band__sep { width: 1px; height: 14px; background: rgba(255,255,255,.4); }
.pgb-band__btn { position: absolute; top: 10px; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: #fff; cursor: pointer; border-radius: 50%; z-index: 2; padding: 0; }
.pgb-band__btn:hover { background: rgba(255,255,255,.12); }
.pgb-band__back { left: 8px; }
.pgb-band__x { right: 8px; }
.pgb-hero { position: relative; margin-top: 26px; }
.pgb-hero__h { font-family: var(--pgb-head, Georgia, serif); color: #fff; font-size: clamp(28px, 6.4vw, 44px); line-height: 1.15; margin: 0 auto; max-width: 720px; letter-spacing: 0; text-transform: none; }
.pgb-hero__pill { display: inline-block; margin: 12px 0 0; padding: 5px 14px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 14px; font-weight: 600; }

/* content */
.pgb-main { position: relative; max-width: 560px; margin: -92px auto 0; padding: 0 16px; }
.pgb-step--wait, .pgb-step[data-step="preview"] { margin-top: 0; }
.pgb-card { background: #fff; border-radius: 22px; padding: 26px 22px; box-shadow: 0 10px 34px rgba(29,35,64,.12); }
.pgb-note { display: flex; gap: 10px; align-items: center; border: 1px solid var(--pgb-line); border-radius: 14px; padding: 11px 14px; margin: 0 0 20px; font-size: 14px; }
.pgb-label { display: block; font-weight: 700; margin: 18px 0 8px; font-size: 15px; }
.pgb-card > .pgb-label:first-of-type, .pgb-note + .pgb-label, .pgb-perks + .pgb-label { margin-top: 0; }
.pgb-perks { list-style: none; margin: 0 0 22px; padding: 14px 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: #f7f3ea; border-radius: 14px; }
.pgb-perks li { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--pgb-ink); line-height: 1.25; text-align: center; }
.pgb-perks li + li { border-left: 1px solid #e8e1d2; }
.pgb-perks__i { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fdeecb; color: var(--pgb-band, #1f2a5c); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(242,179,61,.45); }
.pgb-input { width: 100%; font-size: 18px; padding: 14px 16px; border: 2px solid var(--pgb-line); border-radius: 14px; background: #fff; color: var(--pgb-ink); }
.pgb-input:focus, .pgb-input:active { outline: none; border-width: 2px; border-style: solid; border-color: var(--pgb-band, #1f2a5c); box-shadow: 0 0 0 4px rgba(31,42,92,.12); }
.pgb-error { color: #b00020; font-size: 14px; margin: 8px 0 0; }
.pgb-text { margin: 0; text-align: center; }
.pgb-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pgb-seg__btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 10px; border: 2px solid var(--pgb-line); border-radius: 14px; background: #fff; font-size: 17px; font-weight: 700; color: var(--pgb-ink); cursor: pointer; }
.pgb-seg__btn span { font-size: 22px; }
.pgb-seg__btn.is-on { background: var(--pgb-band, #1f2a5c); border-color: var(--pgb-band, #1f2a5c); color: #fff; }
.pgb-titlecard { margin-top: 20px; border-radius: 14px; background: var(--pgb-cream); padding: 12px 16px; text-align: center; }
.pgb-titlecard__k { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--pgb-muted); }
.pgb-titlecard__t { display: block; font-family: var(--pgb-head, Georgia, serif); font-size: 21px; font-weight: 700; color: var(--pgb-band, #1f2a5c); }

.pgb-drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 210px; border: 2px dashed #c9c3b5; border-radius: 18px; padding: 18px; cursor: pointer; text-align: center; background: var(--pgb-cream); }
.pgb-drop:hover, .pgb-drop:focus-within { border-color: var(--pgb-band, #1f2a5c); }
.pgb-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pgb-drop__icon { width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--pgb-band, #1f2a5c); box-shadow: 0 4px 14px rgba(29,35,64,.1); }
.pgb-drop img { max-height: 230px; max-width: 100%; border-radius: 12px; }
.pgb-drop__t { font-weight: 700; font-size: 17px; }
.pgb-drop__s { font-size: 13px; color: var(--pgb-muted); }
.pgb-tips { list-style: none; margin: 16px 0 0; padding: 0; font-size: 14px; display: grid; gap: 6px; }
.pgb-tips li { display: flex; gap: 8px; align-items: center; margin: 0; }
.pgb-ok { color: var(--pgb-ok); font-weight: 800; }
.pgb-turnstile { margin-top: 12px; display: flex; justify-content: center; }

/* waiting */
.pgb-step--wait { text-align: center; }
.pgb-ring { position: relative; width: min(260px, 70vw); aspect-ratio: 1; margin: 0 auto; background: #fff; border-radius: 50%; box-shadow: 0 10px 34px rgba(29,35,64,.12); }
.pgb-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pgb-ring__dots { fill: none; stroke: var(--pgb-band, #1f2a5c); stroke-width: 1.6; stroke-dasharray: .4 4; stroke-linecap: round; opacity: .35; }
.pgb-ring__bg { fill: #f3f1ec; stroke: #ebe7de; stroke-width: 9; }
.pgb-ring__fg { fill: none; stroke: var(--pgb-accent, #f2b33d); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray .3s linear; }
.pgb-ring__c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.pgb-ring__spark { font-size: 30px; animation: pgbDraw 1.4s ease-in-out infinite; transform-origin: 20% 80%; }
@keyframes pgbDraw { 0%, 100% { transform: rotate(0) translate(0, 0); } 25% { transform: rotate(-8deg) translate(-3px, 1px); } 50% { transform: rotate(4deg) translate(3px, -1px); } 75% { transform: rotate(-4deg) translate(-1px, 2px); } }
/* small star riding on the tip of the progress arc (ring radius 46 of 120 -> 11.7 % from the top) */
.pgb-ring__tip { position: absolute; inset: 0; pointer-events: none; transition: transform .3s linear; }
.pgb-ring__tip span { position: absolute; left: 50%; top: 11.7%; transform: translate(-50%, -50%); font-size: 22px; animation: pgbTw 1.6s ease-in-out infinite; }
.pgb-ring__c b { font-size: 42px; font-weight: 800; color: var(--pgb-ink); line-height: 1.1; }
@keyframes pgbTw { 50% { transform: scale(1.18) rotate(10deg); opacity: .75; } }
.pgb-queue { margin: 14px 0 0; font-size: 14px; color: var(--pgb-muted); }
.pgb-checks { list-style: none; padding: 0; margin: 26px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pgb-checks li { margin: 0; display: flex; align-items: center; gap: 9px; padding: 13px 12px; border: 2px solid var(--pgb-line); border-radius: 16px; background: #fff; color: #9a9caa; font-weight: 700; font-size: 14.5px; text-align: left; line-height: 1.25; }
.pgb-checks li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #c9cbd4; box-sizing: border-box; }
.pgb-checks li.is-active { color: var(--pgb-ink); border-color: #c7cdea; background: #f2f4fc; }
.pgb-checks li.is-active::before { border-color: var(--pgb-band, #1f2a5c); border-right-color: transparent; animation: pgbSpin .8s linear infinite; }
.pgb-checks li.is-done { color: #17663f; border-color: #d4f1df; background: #e8f8ee; }
.pgb-checks li.is-done::before { border: 0; background: var(--pgb-ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
@keyframes pgbSpin { to { transform: rotate(360deg); } }

/* preview */
.pgb-hint-top { display: flex; gap: 8px; align-items: flex-start; background: #fff; border-radius: 16px; padding: 13px 15px; margin: 0 0 38px; font-size: 14.5px; box-shadow: 0 6px 22px rgba(29,35,64,.1); }
.pgb-book { position: relative; width: min(400px, 88%); margin: 0 auto; }
.pgb-book__cover { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px 10px 10px 4px; background: #e9e5db;
  box-shadow: inset 6px 0 8px -4px rgba(0,0,0,.4), 0 18px 40px rgba(29,35,64,.3), 0 2px 6px rgba(0,0,0,.2); }
.pgb-book::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; border-radius: 4px 0 0 4px; background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(255,255,255,.15) 60%, transparent); z-index: 1; pointer-events: none; }
.pgb-chip { display: inline-flex; align-items: center; gap: 7px; background: #fff; color: var(--pgb-ink); border: 0; border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 700; box-shadow: 0 3px 12px rgba(0,0,0,.18); }
.pgb-book__change { position: absolute; top: -16px; left: 14px; z-index: 2; cursor: pointer; }
.pgb-facts { list-style: none; padding: 0; margin: 28px 0 0; background: #fff; border: 2px solid var(--pgb-line); border-radius: 20px; overflow: hidden; }
.pgb-facts li { margin: 0; display: flex; align-items: center; gap: 14px; padding: 14px 18px; }
.pgb-facts li + li { border-top: 1px solid var(--pgb-line); }
.pgb-facts__i { font-size: 20px; }
.pgb-facts li > span:nth-child(2) { flex: 1; }
.pgb-facts b { display: block; font-size: 16px; }
.pgb-facts small { display: block; font-size: 13px; color: var(--pgb-muted); }
.pgb-pages { display: grid; gap: 14px; margin-top: 28px; }
.pgb-page { position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--pgb-band, #1f2a5c); box-shadow: 0 8px 26px rgba(29,35,64,.18); }
.pgb-page--img { padding: 14px; }
.pgb-page--cover { display: none; }
.pgb-page--cover > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pgb-page--img > img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block; background: #2a3570; }
.pgb-page__chip { position: absolute; top: 26px; left: 26px; padding: 5px 13px 5px 5px; }
.pgb-page__chip.is-placed { white-space: normal; width: max-content; max-width: calc(100% - 16px); text-align: left; line-height: 1.25; }  /* natural width first, wraps only if wider than the page */
.pgb-page__chip { max-width: calc(100% - 16px); }
.pgb-chip__thumb { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; object-fit: cover; }
.pgb-page--text { display: flex; align-items: center; justify-content: center; color: #e9ebf7; text-align: center;
  background-image: radial-gradient(circle at 15% 20%, rgba(255,255,255,.5) 0 1px, transparent 1.6px), radial-gradient(circle at 80% 15%, rgba(255,255,255,.45) 0 1.2px, transparent 2px),
    radial-gradient(circle at 70% 80%, rgba(255,255,255,.4) 0 1px, transparent 1.6px), radial-gradient(circle at 30% 85%, rgba(255,255,255,.35) 0 1px, transparent 1.6px); }
.pgb-page__text { padding: 9% 11%; font-size: clamp(14px, 3.8vw, 17px); line-height: 1.65; }
.pgb-page__text p { margin: 0 0 1em; }
.pgb-page__text p:last-child { margin: 0; }
.pgb-page__text b { color: #fff; }
.pgb-page__num { position: absolute; bottom: 0; left: 0; width: 64px; height: 50px; border-radius: 0 34px 0 0; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #fff; }
.pgb-page__num.is-right { left: auto; right: 0; border-radius: 34px 0 0 0; }
.pgb-page--title { flex-direction: column; gap: 6px; }
.pgb-page__title { font-family: var(--pgb-head, Georgia, serif); font-size: clamp(24px, 6vw, 32px); font-weight: 700; color: #fff; margin: 0; padding: 0 8%; line-height: 1.2; }
.pgb-page__sub { margin: 0 0 14px; font-style: italic; opacity: .85; }
.pgb-page__photo { width: 30%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; border: 4px solid #fff; }

/* choose */
.pgb-choose__book { position: relative; width: 46%; margin: 0 auto 26px; }
.pgb-choose__change { position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%); white-space: nowrap; cursor: pointer; z-index: 2; }
.pgb-choose__cover { display: block; width: 100%; margin: 0; aspect-ratio: 1; object-fit: cover; border-radius: 4px 8px 8px 4px; box-shadow: 0 10px 24px rgba(29,35,64,.25); }
.pgb-variants { border: 0; padding: 0; margin: 0; }
.pgb-variant { display: flex; align-items: center; gap: 12px; border: 2px solid var(--pgb-line); border-radius: 16px; padding: 15px 16px; margin-bottom: 10px; cursor: pointer; background: #fff; }
.pgb-variant:has(input:checked) { border-color: var(--pgb-band, #1f2a5c); background: #f2f4fc; }
.pgb-variant input { accent-color: var(--pgb-band, #1f2a5c); width: 20px; height: 20px; margin: 0; }
.pgb-variant__t { flex: 1; font-weight: 700; font-size: 17px; }
.pgb-variant__p { font-weight: 700; }
.pgb-variant__p s { color: #999; font-weight: 400; margin-right: 4px; }

/* bottom bar */
.pgb-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 3; background: #fff; border-top: 1px solid var(--pgb-line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); display: flex; justify-content: center; }
.pgb--nobar .pgb-bar { display: none; }
.pgb-bar__btn { width: 100%; max-width: 520px; border: 0; border-radius: 14px; padding: 16px 20px; font-size: 17px; font-weight: 800; letter-spacing: .01em; text-transform: none;
  background: var(--pgb-accent, #f2b33d); color: var(--pgb-ink); cursor: pointer; box-shadow: 0 4px 0 rgba(0,0,0,.12); }
.pgb-bar__btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.pgb-bar { flex-direction: column; align-items: center; }
.pgb-bar__note { color: var(--pgb-muted); font-size: 13.5px; line-height: 1.35; margin: 0 0 8px; text-align: center; max-width: 520px; }
.pgb-bar__btn.is-loading { color: transparent; position: relative; }
.pgb-bar__btn.is-loading::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px; border-radius: 50%; border: 3px solid var(--pgb-ink); border-right-color: transparent; animation: pgbSpin .8s linear infinite; }

@media (min-width: 769px) {
  .pgb-band { padding-bottom: 130px; }
  .pgb-hero { margin-top: 34px; }
  .pgb-card { padding: 32px 30px; }
  .pgb-pages { grid-template-columns: 1fr 1fr; gap: 0; }
  .pgb-main:has(.pgb-pages:not(:empty)) { max-width: 900px; }
  .pgb-step[data-step="preview"] .pgb-hint-top, .pgb-step[data-step="preview"] .pgb-facts { max-width: 560px; margin-left: auto; margin-right: auto; }
  .pgb-pages .pgb-page { border-radius: 0; box-shadow: none; }
  .pgb-pages .pgb-page--cover { display: block; }
  .pgb-pages { box-shadow: 0 12px 34px rgba(29,35,64,.2); border-radius: 14px; overflow: hidden; }
}
@media (max-width: 480px) {
  .pgb-band { padding-left: 46px; padding-right: 46px; }
  .pgb-band__trust { flex-wrap: nowrap; gap: 8px; font-size: 11.5px; white-space: nowrap; }
}

/* speed package (Daniel, 2026-11-09): progress on the name step, "Name ändern", cart under the preview */
.pgb-mini { display: grid; gap: 7px; margin: 0 0 20px; padding: 12px 14px; background: #f7f3ea; border-radius: 14px; }
.pgb-mini__t { font-size: 13.5px; font-weight: 700; color: var(--pgb-ink); }
.pgb-mini__bar { display: block; height: 8px; border-radius: 99px; background: #ebe5d8; overflow: hidden; }
.pgb-mini__bar span { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--pgb-accent, #f2b33d); transition: width .3s linear; }
.pgb-book__rename { position: absolute; top: -16px; right: 14px; z-index: 2; cursor: pointer; }
.pgb-rename { width: min(400px, 88%); margin: 22px auto 0; background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: 0 6px 22px rgba(29,35,64,.1); }
.pgb-rename .pgb-label { margin-top: 0; }
.pgb-rename__row { display: flex; gap: 8px; }
.pgb-rename__row .pgb-input { flex: 1; min-width: 0; }
.pgb-rename__ok { flex: none; border: 0; border-radius: 14px; padding: 0 18px; font-weight: 800; background: var(--pgb-band, #1f2a5c); color: #fff; cursor: pointer; }
.pgb-buybox { margin-top: 18px; }
.pgb-buybox .pgb-variants { margin: 0; }
.pgb-prevlink { text-align: center; margin: 16px 0 0; }

/* one variant (softcover only): show it as a line, hide the radio */
.pgb-variants--single input[type=radio]{position:absolute;opacity:0;pointer-events:none}
.pgb-variants--single .pgb-variant{cursor:default}

/* optional e-mail card on the first step (Daniel, 2026-11-11) */
.pgb-card--email{margin-top:16px}
.pgb-sub{margin:-2px 0 12px;color:#6b7280;font-size:14px;line-height:1.45}

/* photo examples (2026-11-11) */
.pgb-examples{margin-top:22px;text-align:center}
.pgb-examples__h{font-family:var(--pgb-serif,Georgia,serif);font-size:20px;font-weight:700;margin:0 0 6px;color:var(--pgb-ink,#1d2340)}
.pgb-examples__t{margin:0 auto 16px;max-width:460px;color:#6b7280;font-size:14px;line-height:1.5}
.pgb-examples__grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:14px 12px;font-size:14px;font-weight:600;color:var(--pgb-ink,#1d2340)}
.pgb-examples__img{position:relative;display:block;border-radius:50%;margin:0 auto 18px;width:78%;aspect-ratio:1;box-shadow:0 0 0 4px #fff,0 0 0 6px #1e9e5a}
.is-no .pgb-examples__img{box-shadow:0 0 0 4px #fff,0 0 0 6px #d9d4c7;filter:saturate(.75)}
.pgb-examples__img img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}
.pgb-examples__mark{position:absolute;left:50%;bottom:-12px;transform:translateX(-50%);white-space:nowrap;padding:1px 9px;border-radius:99px;background:#1e9e5a;color:#fff;font-size:11.5px;font-weight:700;line-height:1.6;box-shadow:0 0 0 2px #fff}
.is-no .pgb-examples__mark{background:#6b6f80}
/* recent photos (2026-11-11) */
.pgb-recent{border:1px solid var(--pgb-line,#e5e7eb);border-radius:16px;padding:12px 14px;margin:14px 0 0}
.pgb-recent__list{display:flex;gap:10px;overflow-x:auto;padding-bottom:10px;border-bottom:1px solid var(--pgb-line,#e5e7eb)}
.pgb-recent__list button{flex:0 0 auto;width:72px;height:72px;padding:0;border:2px solid transparent;border-radius:12px;overflow:hidden;background:none;cursor:pointer}
.pgb-recent__list button.is-on{border-color:var(--pgb-band,#1f2a5c)}
.pgb-recent__list img{width:100%;height:100%;object-fit:cover;display:block}
.pgb-recent__t{margin:10px 0 0;font-size:13px;line-height:1.5;color:#6b7280;font-style:italic}
.pgb-recent__del{background:none;border:0;padding:0;font:inherit;color:inherit;text-decoration:underline;cursor:pointer}
/* close question (2026-11-11) */
.pgb-confirm{position:absolute;inset:0;z-index:20;background:rgba(17,20,40,.55);display:flex;align-items:center;justify-content:center;padding:16px}
.pgb-confirm[hidden]{display:none}
.pgb-confirm__box{background:#fff;border-radius:22px;padding:28px 22px 18px;max-width:440px;width:100%;text-align:center;box-shadow:0 20px 50px rgba(0,0,0,.25)}
.pgb-confirm__h{font-family:var(--pgb-serif,Georgia,serif);font-size:22px;font-weight:700;margin:0 0 10px;color:var(--pgb-ink,#1d2340)}
.pgb-confirm__t{margin:0 0 20px;color:#6b7280;line-height:1.5}
.pgb-confirm__go{display:block;width:100%;border:0;border-radius:14px;padding:15px;background:#f2b33d;color:#1d2340;font:inherit;font-weight:700;font-size:16px;cursor:pointer}
.pgb-confirm__quit{margin-top:12px;background:none;border:0;font:inherit;color:#6b7280;text-decoration:underline;cursor:pointer;padding:6px}

.pgb-opt{font-weight:400;color:#6b7280}

/* one-line hint on the first step (2026-11-11) */
.pgb-hintline{display:flex;gap:12px;align-items:center;margin:0 0 22px;padding:13px 16px;border:1px solid var(--pgb-line,#e6e2d8);border-radius:16px;background:#fff;font-size:15px;line-height:1.45;color:var(--pgb-ink,#1d2340)}
.pgb-hintline span{font-size:20px;flex:0 0 auto}

/* wait screen: rotating heading (2026-11-11) */
[data-pgb-h]{transition:opacity .26s ease}
[data-pgb-h].is-fading{opacity:0}
@media (prefers-reduced-motion: reduce){[data-pgb-h]{transition:none}}

/* placeholder note for animals other than dog and cat (2026-11-11) */
.pgb-pages__note{grid-column:1/-1;margin:4px 0 6px;padding:12px 16px;border-radius:14px;background:#fff4dc;color:var(--pgb-ink,#1d2340);font-size:15px;line-height:1.5;text-align:center}
/* coloring book: the real coloring page with the pet, white paper (Daniel, 2026-11-11: preview "cover + 1 page?") */
.pgb-page--color{background:#fff}
.pgb-page--color>img{background:#fff;object-fit:contain}

/* Klaviyo sign-up popups (e.g. "10% Rabatt") stay hidden while the book popup is open; they opened on top of it and
   covered the photo step on phones (Daniel, 2026-11-17: "Yes, hide it"). They show normally again once it is closed. */
html.pgb-lock .needsclick[class*="kl-private-reset-css"][role="dialog"] { display: none !important; }
