/* The Vantum Picture Machine, prototype. Uses the site's own tokens from digital.css. */
.pm { background: var(--ink, #0a0b0d); color: #fff; font-family: var(--sans, Archivo, Arial, sans-serif); }
.pm *, .pm *::before, .pm *::after { box-sizing: border-box; }
.pm-wrap { max-width: 560px; margin: 0 auto; padding: 22px 14px 30px; position: relative; }
.pm-eyebrow { font-family: var(--mono, monospace); font-size: 12.5px; color: #c9ccd4; letter-spacing: 0.02em; }
.pm-h1 { font-size: clamp(42px, 9vw, 64px); font-weight: 650; line-height: 0.93; letter-spacing: -0.055em; margin: 10px 0 0; }
.pm-h2 { font-size: 30px; font-weight: 650; line-height: 1; letter-spacing: -0.045em; margin: 0; }
.pm-sub { color: #d4d7df; font-size: 16.5px; margin: 12px 0 0; line-height: 1.42; }
.pm-fine { color: #9ea3ad; font-size: 13px; margin: 10px 0 0; line-height: 1.4; }
.pm svg.pm-i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* reels */
.pm-reels { margin-top: 18px; border: 3px solid var(--blue, #1a3bd2); background: #000; padding: 8px; position: relative; }
.pm-reels-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; height: 158px; overflow: hidden; }
.pm-col { overflow: hidden; position: relative; }
.pm-strip { display: flex; flex-direction: column; gap: 6px; animation: pm-roll var(--dur, 14s) linear infinite; }
.pm-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.pm-reels.fast .pm-strip { animation-duration: 0.9s !important; filter: blur(1.5px); }
@keyframes pm-roll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.pm-arrow { position: absolute; top: 50%; width: 0; height: 0; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-top: -9px; }
.pm-arrow.l { left: -3px; border-left: 11px solid #fff; }
.pm-arrow.r { right: -3px; border-right: 11px solid #fff; }

/* free spins */
.pm-spins { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.pm-pips { display: flex; gap: 6px; }
.pm-pip { width: 22px; height: 22px; background: var(--blue, #1a3bd2); border: 2px solid var(--blue, #1a3bd2); display: block; }
.pm-pip.used { background: transparent; border-color: #727781; }
.pm-spins b { font-size: 15.5px; }
.pm-spins span.pm-hint { color: #c9ccd4; font-weight: 500; font-size: 14px; }

/* machine picker */
.pm-machines { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.pm-tile { display: flex; gap: 10px; align-items: center; border: 2px solid #3a3d44; padding: 7px; background: #15171b; color: #fff; text-align: left; font: inherit; cursor: pointer; }
.pm-tile img { width: 44px; height: 44px; object-fit: cover; display: block; flex: none; }
.pm-tile b { display: block; font-size: 14.5px; line-height: 1.15; }
.pm-tile span { display: block; font-size: 12px; color: #9ea3ad; margin-top: 2px; }
.pm-tile.on { border-color: var(--blue, #1a3bd2); background: var(--blue, #1a3bd2); }
.pm-tile.on span { color: #dfe5ff; }
.pm-desc { color: #d4d7df; font-size: 15px; margin: 12px 0 0; }

/* buttons */
.pm-btn { display: flex; gap: 10px; width: 100%; min-height: 56px; align-items: center; justify-content: center; border: 2px solid var(--blue, #1a3bd2); background: var(--blue, #1a3bd2); color: #fff; font: inherit; font-weight: 700; font-size: 17px; cursor: pointer; text-decoration: none; margin-top: 14px; transition: background-color 150ms ease, color 150ms ease; }
.pm-btn:hover, .pm-btn:focus-visible { background: #fff; color: var(--blue, #1a3bd2); }
.pm-btn small { font-weight: 600; opacity: 0.85; font-size: 14px; }
.pm-btn.ghost { background: transparent; border-color: #727781; }
.pm-btn.ghost:hover { background: #fff; color: var(--ink, #0a0b0d); }
.pm-btn[disabled] { opacity: 0.55; cursor: wait; }
.pm-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pm-row2 .pm-btn { margin-top: 8px; min-height: 50px; font-size: 15.5px; }
.pm-biz { display: flex; justify-content: space-between; align-items: center; color: #c9ccd4; font-size: 14.5px; margin-top: 16px; text-decoration: none; }
.pm-biz:hover { color: #fff; }
.pm-link { background: none; border: 0; color: #8ea2ff; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; padding: 0; display: inline-flex; gap: 5px; align-items: center; }

/* options */
.pm-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.pm-top .pm-mini { display: flex; gap: 5px; align-items: center; font-weight: 700; font-size: 14px; }
.pm-top .pm-pip { width: 16px; height: 16px; }
.pm-tabs { display: flex; gap: 6px; overflow-x: auto; margin: 0 0 16px; scrollbar-width: none; }
.pm-tabs button { flex: none; font: inherit; font-size: 14px; font-weight: 700; padding: 8px 11px; border: 2px solid #3a3d44; background: transparent; color: #fff; cursor: pointer; }
.pm-tabs button.on { border-color: var(--blue, #1a3bd2); background: var(--blue, #1a3bd2); }
.pm-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.pm-photos.one { grid-template-columns: 110px 1fr; align-items: center; }
.pm-photo { position: relative; aspect-ratio: 1; background: #15171b; }
.pm-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-photo .pm-tag { position: absolute; left: 0; bottom: 0; background: var(--ink, #0a0b0d); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 8px; }
.pm-add { aspect-ratio: 1; border: 2px dashed #727781; background: transparent; color: #c9ccd4; font: inherit; font-size: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; text-align: center; padding: 10px; }
.pm-add b { color: #fff; font-size: 16px; }
.pm-label { display: block; font-size: 14px; font-weight: 700; margin: 16px 0 6px; color: #fff; }
.pm-input { width: 100%; height: 52px; border: 2px solid #fff; background: #fff; color: var(--ink, #0a0b0d); font: inherit; font-size: 17px; padding: 0 14px; border-radius: 0; }
.pm-input:focus { outline: 3px solid var(--blue, #1a3bd2); outline-offset: 0; }
.pm-choices { display: grid; gap: 6px; }
.pm-choice { display: flex; justify-content: space-between; align-items: center; width: 100%; border: 2px solid #3a3d44; background: transparent; color: #fff; font: inherit; font-size: 15.5px; padding: 11px 12px; cursor: pointer; text-align: left; }
.pm-choice.on { border-color: var(--blue, #1a3bd2); background: #111a44; font-weight: 700; }
.pm-choice svg.pm-i { width: 18px; height: 18px; stroke-width: 3; }
.pm-slots { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; margin-top: 14px; }
.pm-slot { border: 3px solid var(--blue, #1a3bd2); background: #000; height: 120px; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; overflow: hidden; padding: 0 6px; }
.pm-slot .cap { position: absolute; top: 6px; left: 8px; font-family: var(--mono, monospace); font-size: 10.5px; color: #9ea3ad; }
.pm-slot .gh { font-size: 13.5px; color: #6c717c; line-height: 1.2; }
.pm-slot .val { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 7px 0; }
.pm-slot.rolling .val { filter: blur(1px); }
.pm-respin { display: flex; justify-content: space-between; align-items: center; color: #9ea3ad; font-size: 13.5px; margin-top: 8px; }

/* making */
.pm-steps { margin-top: 16px; display: grid; gap: 10px; font-size: 17px; }
.pm-steps div { display: flex; gap: 10px; align-items: center; color: #6c717c; }
.pm-steps div.done { color: #d4d7df; }
.pm-steps div.done svg { color: #8ea2ff; }
.pm-steps div.cur { color: #fff; font-weight: 700; }
.pm-dot { width: 20px; height: 20px; border: 3px solid #8ea2ff; border-top-color: transparent; border-radius: 50%; animation: pm-spin 0.8s linear infinite; flex: none; }
@keyframes pm-spin { to { transform: rotate(360deg); } }
.pm-bar { height: 6px; background: #2a2d33; margin-top: 16px; position: relative; overflow: hidden; }
.pm-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--blue, #1a3bd2); transition: width 0.4s linear; }

/* reveal */
.pm-hit { font-size: 54px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; text-align: center; margin-top: 6px; }
.pm-what { text-align: center; color: #c9ccd4; font-size: 15.5px; margin: 8px 0 14px; }
.pm-pic { width: 100%; max-width: 420px; display: block; margin: 0 auto; border: 5px solid #fff; animation: pm-pop 420ms cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes pm-pop { from { transform: scale(0.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.pm-card { background: #15171b; border: 2px solid #3a3d44; padding: 12px; margin-top: 12px; font-size: 14.5px; color: #d4d7df; line-height: 1.38; }
.pm-card b { color: #fff; }
.pm-card .pm-url { font-family: var(--mono, monospace); color: #8ea2ff; font-size: 13.5px; display: block; margin-top: 6px; word-break: break-all; }
.pm-note { background: #2a2410; border: 2px solid #6b5a1a; color: #f2e6b8; font-size: 13.5px; padding: 10px 12px; margin-top: 12px; line-height: 1.38; }
.pm-conf { position: fixed; top: -20px; width: 11px; height: 11px; background: var(--blue, #1a3bd2); z-index: 60; pointer-events: none; animation: pm-fall linear forwards; }
.pm-conf.w { background: #fff; width: 8px; height: 8px; }
@keyframes pm-fall { to { transform: translateY(110vh) rotate(720deg); } }

/* out of spins */
.pm-opts { display: grid; gap: 10px; margin-top: 12px; }
.pm-opt { border: 2px solid #3a3d44; padding: 12px; background: #15171b; }
.pm-opt .t { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 16.5px; }
.pm-opt .t em { font-style: normal; color: #8ea2ff; font-size: 15px; }
.pm-opt p { color: #c9ccd4; font-size: 14px; margin: 4px 0 0; line-height: 1.35; }
.pm-opt.used { opacity: 0.55; }
.pm-opt .pm-btn { min-height: 46px; font-size: 15.5px; margin-top: 10px; }

/* toast, modal, test tools */
.pm-toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: #fff; color: var(--ink, #0a0b0d); font-weight: 700; font-size: 15px; padding: 12px 16px; z-index: 80; max-width: 92vw; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.pm-modal { position: fixed; inset: 0; background: rgba(10, 11, 13, 0.7); display: flex; align-items: center; justify-content: center; z-index: 90; padding: 16px; }
.pm-modal-box { background: #fff; color: var(--ink, #0a0b0d); max-width: 380px; width: 100%; padding: 20px; font-family: var(--sans, Archivo, Arial, sans-serif); }
.pm-modal-box h3 { font-size: 24px; font-weight: 650; letter-spacing: -0.03em; margin: 0 0 6px; }
.pm-modal-box p { font-size: 14.5px; color: #3d414a; line-height: 1.4; margin: 0; }
.pm-modal-box .pm-btn.ghost { color: var(--ink, #0a0b0d); border-color: var(--ink, #0a0b0d); }
.pm-dev { position: fixed; left: 10px; bottom: 10px; z-index: 70; font-family: var(--sans, Archivo, Arial, sans-serif); }
.pm-dev > button { background: #fff; color: var(--ink, #0a0b0d); border: 2px solid var(--ink, #0a0b0d); font: inherit; font-size: 13px; font-weight: 700; padding: 7px 10px; cursor: pointer; }
.pm-dev-box { background: #fff; color: var(--ink, #0a0b0d); border: 2px solid var(--ink, #0a0b0d); padding: 10px; margin-bottom: 6px; width: 250px; font-size: 13px; line-height: 1.35; }
.pm-dev-box button { display: block; width: 100%; margin-top: 6px; background: var(--mist, #f1f3f7); border: 1px solid #c9ccd4; font: inherit; font-size: 13px; font-weight: 600; padding: 7px; cursor: pointer; text-align: left; }

/* artist page */
.pm-artist { min-height: calc(100vh - 76px); }
.pm-artist-pic { width: 100%; display: block; margin: 16px 0 18px; }
.pm-artist .pm-btn { text-decoration: none; }

@media (min-width: 900px) {
  .pm-wrap { padding: 44px 14px 54px; }
}

/* ---------- version 2: a menu of photo types ---------- */
.pm-count { margin: 12px 0 0; color: #c9ccd4; font-size: 15px; }
.pm-count b { color: #fff; }
.pm-count.mini { margin: 0; font-size: 14px; }
.pm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; margin-top: 18px; }
.pm-cat { background: #15171b; border: 2px solid #2a2d33; color: #fff; font: inherit; text-align: left; padding: 0 0 10px; cursor: pointer; display: flex; flex-direction: column; transition: border-color 150ms ease; }
.pm-cat:hover, .pm-cat:focus-visible { border-color: var(--blue, #1a3bd2); }
.pm-cat img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; display: block; background: #000; }
.pm-cat b { display: block; font-size: 16px; line-height: 1.15; margin: 9px 10px 0; }
.pm-cat span { display: block; font-size: 13.5px; color: #9ea3ad; margin: 3px 10px 0; line-height: 1.25; }
.pm-example { position: relative; margin: 4px 0 14px; }
.pm-example img { width: 100%; height: auto; display: block; }
.pm-example span { position: absolute; right: 8px; top: 8px; background: rgba(10, 11, 13, 0.75); color: #c9ccd4; font-family: var(--mono, monospace); font-size: 11.5px; padding: 3px 6px; }
.pm-step { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; margin: 18px 0 8px; }
.pm-step span { width: 26px; height: 26px; background: var(--blue, #1a3bd2); color: #fff; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.pm-step + .pm-btn { margin-top: 0; }
.pm-have { display: flex; gap: 12px; align-items: center; }
.pm-have img { width: 76px; height: 76px; object-fit: cover; display: block; }
.pm-have b { display: block; font-size: 15.5px; margin-bottom: 4px; }
.pm-choices.two { grid-template-columns: 1fr 1fr; }
.pm-small { color: #c9ccd4; font-size: 14.5px; margin: 10px 0 0; }
.pm-small b { color: #fff; }
.pm-making { position: relative; margin-top: 16px; }
.pm-making img { width: 100%; max-height: 420px; object-fit: cover; display: block; filter: brightness(0.5) saturate(0.7); }
.pm-making .pm-bar { position: absolute; left: 14px; right: 14px; bottom: 16px; margin: 0; }
.pm-done { text-align: center; margin: 4px 0 14px; }
.pm-url { font-family: var(--mono, monospace); color: #8ea2ff; font-size: 13.5px; display: block; margin-top: 6px; word-break: break-all; }
@media (min-width: 700px) {
  .pm-wrap { max-width: 760px; }
  .pm-grid { grid-template-columns: repeat(3, 1fr); }
  .pm-example img, .pm-making img, .pm-pic { max-width: 460px; }
}
@media (min-width: 1100px) {
  .pm-wrap { max-width: 1020px; }
  .pm-grid { grid-template-columns: repeat(5, 1fr); }
}

/* ---------- version 3: groups, free makers ---------- */
.pm-group { font-size: 24px; font-weight: 650; letter-spacing: -0.03em; line-height: 1.05; margin: 30px 0 4px; color: #fff; }
.pm-group-sub { color: #9ea3ad; font-size: 14.5px; margin: 0 0 12px; }
.pm-group + .pm-group-sub + .pm-grid { margin-top: 0; }
.pm-imgbox { position: relative; display: block; }
.pm-cat .pm-imgbox img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: #000; }
.pm-tag { align-self: flex-start; margin: 10px 10px 0; background: var(--blue, #1a3bd2); color: #fff; font-style: normal; font-weight: 700; font-size: 11.5px; letter-spacing: 0.03em; line-height: 1.2; padding: 3px 6px; }
.pm-tag.free { background: #ffd600; color: var(--ink, #0a0b0d); }
.pm-tag + b { margin-top: 7px; }
.pm-items { display: grid; gap: 6px; }
.pm-item { display: grid; grid-template-columns: 1fr 96px; gap: 6px; }
.pm-item .pm-input { height: 46px; font-size: 16px; }
.pm-price { text-align: right; }

/* background picker */
.pm-bgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pm-bg { position: relative; aspect-ratio: 4 / 5; border: 3px solid #2a2d33; background: #15171b; padding: 0; cursor: pointer; overflow: hidden; color: #c9ccd4; font: inherit; }
.pm-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-bg.on { border-color: var(--blue, #1a3bd2); }
.pm-bg.own { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.pm-bg.own span { font-size: 11.5px; font-weight: 700; line-height: 1.15; text-align: center; padding: 0 4px; }
.pm-bg.own img + span { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(10, 11, 13, 0.75); color: #fff; padding: 4px; }
.pm-bait { margin: 16px 0 0; background: #ffd600; color: var(--ink, #0a0b0d); padding: 12px 14px; }
.pm-bait b { display: block; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.pm-bait span { display: block; font-size: 14.5px; line-height: 1.35; margin-top: 4px; }

/* Production mobile forms and durable generation progress. */
.pm { overflow-wrap: anywhere; -webkit-text-size-adjust: 100%; }
.pm .pm-wrap.pm-form { width: 100%; max-width: 600px; padding-bottom: max(30px, env(safe-area-inset-bottom)); }
.pm-cat .pm-imgbox { margin: 0; width: 100%; min-width: 0; }
.pm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pm-cat, .pm-item, .pm-choices, .pm-top { min-width: 0; }
.pm-top { gap: 12px; flex-wrap: wrap; }
.pm-link { min-height: 44px; align-items: center; touch-action: manipulation; }
.pm-input { min-width: 0; font-size: 17px; }
.pm-btn, .pm-choice { min-height: 52px; padding: 12px; touch-action: manipulation; }
.pm-btn { flex-wrap: wrap; gap: 5px 10px; line-height: 1.2; }
.pm-choices.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pm-choice { gap: 8px; }
.pm-example { min-height: 130px; display: grid; place-items: center; background: #15171b; overflow: hidden; }
.pm-example img { width: auto; max-width: 100%; height: min(32svh, 300px); object-fit: contain; }
.pm-example img[hidden] { display: none; }
.pm-example-fallback { color: #c9ccd4; padding: 24px; margin: 0; line-height: 1.5; }
.pm-example-fallback[hidden] { display: none; }
.pm-action { position: sticky; bottom: 0; z-index: 10; padding: 8px 0 max(8px, env(safe-area-inset-bottom)); background: #0a0b0d; margin-top: 16px; }
.pm-action .pm-btn { margin-top: 0; }
.pm-modal-box .pm-label { color: #202124; }
.pm-pay-error { color: #a51313 !important; margin-top: 12px !important; }
.pm-pic { max-height: 70svh; width: auto; max-width: 100%; object-fit: contain; }
.pm-working { min-height: 78svh; text-align: center; padding-top: 24px; }
.pm-working-art { position: relative; width: min(68vw, 240px); height: min(68vw, 240px); margin: 10px auto 32px; padding: 14px; }
.pm-working-photos { height: 100%; display: flex; overflow: hidden; border-radius: 50%; background: #191d26; }
.pm-working-photos img { width: 100%; min-width: 0; flex: 1; object-fit: cover; }
.pm-working-symbol { height: 100%; display: grid; place-items: center; background: #15171b; border-radius: 50%; }
.pm-working-symbol .pm-i { width: 64px; height: 64px; }
.pm-spinner { position: absolute; inset: 0; border: 5px solid #292e3c; border-top-color: #7292ff; border-right-color: #1a3bd2; border-radius: 50%; animation: pm-spin 1.3s linear infinite; }
.pm-working .pm-sub { min-height: 48px; }
.pm-live-bar { height: 7px; background: #282d37; margin: 22px auto 12px; max-width: 350px; overflow: hidden; }
.pm-live-bar i { display: block; width: 42%; height: 100%; background: #7292ff; animation: pm-moving 1.6s ease-in-out infinite alternate; }
@keyframes pm-moving { from { transform: translateX(-20%); } to { transform: translateX(160%); } }
.pm-time { margin: 0; color: #c9ccd4; font-size: 14px; font-variant-numeric: tabular-nums; min-height: 18px; }
.pm-working #pm-reassure { max-width: 410px; margin: 16px auto; font-size: 14px; }
.pm-job-steps { list-style: none; padding: 0; margin: 24px auto; text-align: left; display: grid; gap: 14px; max-width: 350px; }
.pm-job-steps li { color: #969caa; font-size: 15px; display: flex; align-items: center; gap: 12px; }
.pm-job-steps li::before { content: ''; display: block; width: 16px; height: 16px; border: 2px solid #535969; border-radius: 50%; flex: none; }
.pm-job-steps .done { color: #d4d7df; }
.pm-job-steps .done::before { background: #7292ff; border-color: #7292ff; }
.pm-job-steps .current { color: #fff; font-weight: 700; }
.pm-job-steps .current::before { border-color: #7292ff; border-top-color: transparent; animation: pm-spin 1s linear infinite; }
.pm-check { margin: 12px auto 0; }
@media (max-width: 359px) {
  .pm-wrap { padding-left: 12px; padding-right: 12px; }
  .pm-h1 { font-size: 40px; }
  .pm-row2, .pm-choices.two { grid-template-columns: 1fr; }
  .pm-item { grid-template-columns: minmax(0, 1fr) 82px; }
  .pm-cat b { font-size: 15px; }
  .pm-cat span { font-size: 13px; }
}
@media (min-width: 700px) { .pm-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pm-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) {
  .pm-spinner, .pm-live-bar i, .pm-job-steps .current::before, .pm-pic { animation: none; }
  .pm-live-bar i { width: 100%; background: #7292ff; }
  .pm-conf { display: none; }
}
.pm-cat .pm-imgbox { aspect-ratio: 1; overflow: hidden; }
.pm-cat .pm-imgbox img { width: 100%; height: 100%; }

#picture-machine { overflow-anchor: none; }

/* ---------- the dream reader link, 25 September 2026 ---------- */
.pm-dreamlink { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; margin-top: 16px; padding: 10px; background: #0f1733; border: 2px solid var(--blue, #1a3bd2); color: #fff; text-decoration: none; transition: border-color 150ms ease; }
.pm-dreamlink:hover, .pm-dreamlink:focus-visible { border-color: #fff; }
.pm-dreamlink img { width: 96px; height: 96px; object-fit: cover; display: block; }
.pm-dreamlink .pm-tag { margin: 0; display: inline-block; }
.pm-dreamlink b { display: block; font-size: 19px; line-height: 1.1; margin-top: 7px; }
.pm-dreamlink span { display: block; color: #c9ccd4; font-size: 14px; line-height: 1.3; margin-top: 3px; }
/* the receipt email field was white on the white payment box, so it could not be seen */
.pm-modal-box .pm-input { border-color: var(--ink, #0a0b0d); }

/* 26 September: put the upload beside the promised result, above unrelated offers. */
.pm-example-compact { float:right; width:120px; height:142px; margin:0 0 12px 12px; }
.pm-example-compact img { width:100%; height:100%; object-fit:cover; }
.pm-form > .pm-step:first-of-type { clear:both; }
.pm-first-free { color:#fff; font-weight:650; margin:10px 0 18px; font-size:15px; }
.pm-error { clear:both; background:#fff; color:#a32626; border:2px solid #a32626; padding:12px; line-height:1.4; }
.pm-hide { display:block; margin:18px auto; font-size:13px; }
.pm-photo-grid { margin-top:20px; }
.pm-photo-header { display:flex;justify-content:space-between;align-items:center;padding:16px;max-width:600px;margin:auto; }
.pm-photo-header img { width:108px;height:auto; }
.pm-photo-header a { color:#fff;font-size:14px; }
.pm-photo-footer { text-align:center;padding:18px;font-size:13px;color:#bbb; }
.pm-photo-footer a {color:#ddd;}
@media(max-width:360px){.pm-example-compact{width:100px;height:122px}.pm-h2{font-size:27px}}

/* 27 September: personal AI pictures open on one obvious step. The advert's own picture at the top,
   one big photo button, and the picture starts as soon as the photo is in. */
.pm-quick .pm-hero { margin: 0 0 14px; }
.pm-quick .pm-hero img { width: auto; max-width: 100%; max-height: 40svh; margin: 0 auto; display: block; }
.pm-quick .pm-hero figcaption { color: #9ea3ad; font-size: 12.5px; text-align: center; margin-top: 6px; }
.pm-quick .pm-h2 { font-size: 28px; }
.pm-quick .pm-sub { margin-top: 8px; font-size: 16px; }
.pm-quick .pm-have { margin-top: 14px; }
.pm-btn.pm-xl { min-height: 64px; font-size: 19px; margin-top: 16px; flex-wrap: wrap; row-gap: 2px; }
.pm-btn.pm-xl small { font-size: 13.5px; }
.pm-btn.pm-xl .pm-i { width: 24px; height: 24px; }
.pm-alt { display: flex; justify-content: center; width: 100%; margin-top: 6px; font-size: 15px; }
.pm-quick-opts { margin-top: 22px; }
.pm-quick-opts .pm-label:first-child { margin-top: 16px; }
@media (max-width: 360px) { .pm-quick .pm-h2 { font-size: 25px; } .pm-btn.pm-xl { font-size: 18px; } }
/* short phones and in-app browsers: keep the photo button inside the first screen */
.pm-wrap.pm-quick { padding-top: 12px; }
@media (max-height: 700px) { .pm-quick .pm-hero img { max-height: 34svh; } .pm-quick .pm-top { margin-bottom: 8px; } }
/* 27 September, after review: FREE as loud on the page as on the adverts */
.pm-free { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #ffd600; color: #0a0b0d; padding: 6px 14px; margin: 0 0 12px; }
.pm-free b { font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: 0.01em; }
.pm-free span { font-size: 13.5px; font-weight: 600; line-height: 1.25; text-align: right; }
.pm-quick .pm-hero img { max-height: 36svh; }
@media (max-height: 700px) { .pm-quick .pm-hero img { max-height: 30svh; } .pm-free { padding: 4px 12px; margin-bottom: 8px; } .pm-free b { font-size: 28px; } }
