/* 2637 the look step: a sheet on a phone, her photo big beside the choices in a dialog from 900 (tokens only). */
dialog.looks { position: fixed; inset: auto 0 0 0; width: 100%; max-width: none; max-height: 90dvh; margin: 0; box-sizing: border-box; border: 0; border-radius: 20px 20px 0 0;
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px)); background: var(--surface); color: var(--ink); box-shadow: var(--float, var(--lift)); overflow: auto; overscroll-behavior: contain; }
dialog.looks[open] { display: flex; flex-direction: column; gap: 12px; }
dialog.looks::backdrop { background: var(--scrim); }
.looks .head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: var(--t-lead, 20px); }
.looks .lk-x { min-width: var(--tap, 44px); min-height: var(--tap, 44px); border: 0; background: none; color: var(--muted); font: inherit; cursor: pointer; }
.looks .lk-pic { display: grid; place-items: center; container-type: inline-size; }
.looks .lk-frame { padding: 10px; border: 6px solid var(--ink); background: var(--surface); box-shadow: var(--lift); max-width: min(100%, 320px); }
.looks .lk-frame img { display: block; width: 100%; max-height: 34dvh; object-fit: contain; }
.looks .lk-side { display: grid; gap: var(--s-3, 12px); overflow: auto; }
.looks .lk-card h3 { margin: 0 0 8px; font-size: var(--t-body, 17px); }
.looks .lk-sizes { display: grid; gap: 8px; }
.looks .lk-buy { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: var(--tap, 44px); padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r, 14px);
  background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.looks .lk-buy.main { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 700; }
.looks .lk-buy:active { transform: scale(.98); }
.looks .lk-ships, .looks .lk-small { margin: 0; color: var(--muted); font-size: var(--t-small, 15px); }
@media (min-width: 900px), (max-height: 500px) and (orientation: landscape) {
  dialog.looks { inset: 0; margin: auto; border-radius: 20px; padding-bottom: 16px; width: min(1080px, calc(100% - 48px)); max-height: min(90dvh, 760px); height: fit-content; }
  dialog.looks[open] { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: auto 1fr; }
  .looks .head { grid-column: 1 / -1; }
  .looks .lk-frame { max-width: 100%; width: min(100%, 520px); }
  .looks .lk-frame img { max-height: min(60dvh, 560px); }
}
[data-theme="large"] .looks .lk-buy { min-height: 3.5rem; font-size: 1.25rem; }
/* 2750 a gift row: her photo on a small shape of the thing, name and price beside it; one that needs a better copy stays, dimmed, and says so */
.looks .lk-gift { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r, 14px); background: var(--surface); color: var(--ink); font: inherit; text-align: start; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.looks .lk-gift.main { border-color: var(--accent); border-width: 2px; }
.looks .lk-gift:active { transform: scale(.98); }
.looks .lk-th { flex: none; width: 56px; height: 56px; display: grid; place-items: center; overflow: hidden; background: var(--line); border-radius: 6px; }
.looks .lk-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.looks .lk-th.frame { border: 4px solid var(--ink); border-radius: 0; background: var(--surface); padding: 3px; box-sizing: border-box; }
.looks .lk-th.frame img { width: auto; height: auto; max-width: 100%; max-height: 100%; }
.looks .lk-th.mug { border-radius: 8px 8px 16px 16px; }
.looks .lk-th.cards { border-radius: 3px; transform: rotate(-4deg); box-shadow: 4px 3px 0 var(--line); }
.looks .lk-th.metal { border-radius: 3px; box-shadow: inset 0 0 0 2px var(--surface); }
.looks .lk-th.tote { border-radius: 4px; width: 48px; height: 52px; }
.looks .lk-tx { display: grid; gap: 2px; flex: 1; }
.looks .lk-tx b { font-size: var(--t-lead, 20px); }
.looks .lk-tx em { font-style: normal; color: var(--muted); font-size: var(--t-small, 15px); }
.looks .lk-gift.need .lk-th { opacity: .55; }
[data-theme="large"] .looks .lk-gift { min-height: 4.5rem; font-size: 1.25rem; }
/* 2844 the tapped gift, at once: ringed, its price turned to "Getting it ready…" while the pay page opens; her photo stays in view */
.looks .lk-gift.go { border-color: var(--accent); border-width: 2px; background: color-mix(in srgb, var(--accent) 9%, var(--surface)); cursor: progress; }
.looks .lk-side:has(.lk-gift.go) .lk-gift:not(.go) { opacity: .45; }
.looks .lk-gift.go .lk-tx b { font-size: var(--t-body, 17px); animation: lk-go 1.2s ease-in-out infinite alternate; }
@keyframes lk-go { from { opacity: 1; } to { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .looks .lk-gift.go .lk-tx b { animation: none; } }

.looks .lk-fail { margin: 0; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--bad, #98241c) 10%, transparent); color: var(--ink, inherit); font-size: var(--t-small, 15px); }
/* 2811 their photo ON each thing: a card per gift, the scene on top, name, price and Buy under it; the best first and larger */
.looks .lk-side { grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; overflow: visible; flex: none; }
.looks .lk-gift { display: grid; grid-template-rows: auto 1fr; align-content: start; gap: 8px; padding: 0 0 10px; overflow: hidden; min-height: 0; }
.looks .lk-gift.main { grid-column: 1 / -1; }
.looks .lk-th { width: 100%; height: auto; aspect-ratio: 1; border-radius: 0; border: 0; padding: 0; box-shadow: none; transform: none; background: var(--line); }
.looks .lk-th img { object-fit: cover; }
.looks .lk-th.scene { background: none; }
.looks .lk-th.scene { position: relative; width: 100%; height: auto; }
.looks .lk-scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.looks .lk-tx { align-content: start; padding: 0 12px; grid-template-columns: 1fr auto; align-items: center; row-gap: 2px; }
.looks .lk-tx > span:first-child { grid-column: 1 / -1; font-size: var(--t-small, 15px); color: var(--muted); }
.looks .lk-go { background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: var(--t-small, 15px); }
.looks .lk-tx em { grid-column: 1 / -1; }
.looks .lk-gift.need .lk-th { opacity: .8; }
.looks .lk-pic { display: none; }
@media (min-width: 900px), (max-height: 500px) and (orientation: landscape) {
  dialog.looks[open] { display: flex; width: min(1120px, calc(100% - 48px)); max-height: 92dvh; }
  .looks .lk-side { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .looks .lk-gift.main { grid-column: span 2; grid-row: span 2; }
}
/* 2811 / 2775: the visitor's way in from a public photo */
.gift-this { margin: 12px 0; }
.gift-this a { display: inline-block; background: var(--accent, #98241c); color: var(--accent-ink, #fff); border-radius: 999px; padding: 10px 18px; font-weight: 700; text-decoration: none; min-height: 44px; box-sizing: border-box; }

/* 2691 variations under a look: her photo in the chosen layout, a column of small pictures (56 px, 64 in Large) to try the others; one tap swaps in place */
.looks .lk-vcard { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 320px) var(--lk-vt, 56px); justify-content: start; gap: 8px 12px; align-items: start; padding: 12px; border: 1px solid var(--line); border-radius: var(--r, 14px); }
.looks .lk-vcard > h3, .looks .lk-vcard > .lk-cap, .looks .lk-vcard > .lk-vbuy { grid-column: 1 / -1; }
.looks .lk-vcard > h3 { margin: 0; font-size: var(--t-body, 17px); }
.looks .lk-vstage .lk-art { aspect-ratio: 4 / 5; padding: 8px; border: 4px solid var(--ink); background: var(--surface); box-sizing: border-box; display: grid; }
.looks .lk-cg { display: grid; gap: 4px; min-height: 0; }
.looks .lk-art .c { display: grid; place-items: center; overflow: hidden; min-width: 0; min-height: 0; background: var(--line); color: var(--muted); }
.looks .lk-art .c img { width: 100%; height: 100%; object-fit: cover; display: block; }
.looks .lk-art .c.e { border: 2px dashed var(--muted); background: none; font-size: 20px; }
.looks .lk-vs { grid-column: 2; grid-row: 2; display: grid; gap: 8px; align-content: start; }
.looks .lk-vstage { grid-column: 1; grid-row: 2; }
.looks .lk-vt { width: var(--lk-vt, 56px); min-height: var(--lk-vt, 56px); padding: 0; border: 2px solid transparent; border-radius: 6px; background: none; display: grid; place-items: center; cursor: pointer; box-sizing: border-box; }
.looks .lk-vt .lk-art { width: 100%; padding: 3px; border-width: 1px; pointer-events: none; }
.looks .lk-vt .lk-art .c.e { border-width: 1px; font-size: 10px; }
.looks .lk-vt.on { border-color: var(--ink); background: var(--surface-2, var(--line)); }
.looks .lk-vt:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.looks .lk-vbuy { display: grid; gap: 8px; }
.looks .lk-vcard .lk-cap { margin: 0; color: var(--muted); font-size: var(--t-small, 15px); }
[data-theme="large"] .looks { --lk-vt: 64px; }
@media (min-width: 900px), (max-height: 500px) and (orientation: landscape) { .looks .lk-vcard { grid-column: 1 / -1; } .looks .lk-vcard { grid-template-columns: minmax(0, 288px) var(--lk-vt, 56px); } .looks .lk-vstage .lk-art { max-height: none; } }
/* 2637 live review: the main scene is capped to the screen so name, price and Buy are in the first view; old thumbnail shapes reset; the $47 card fills its two rows */
.looks .lk-th.cards, .looks .lk-th.metal, .looks .lk-th.mug, .looks .lk-th.tote, .looks .lk-th.frame { transform: none; box-shadow: none; border-radius: 0; width: 100%; height: auto; }
.looks .lk-gift.main .lk-th { max-height: max(140px, calc(100dvh - 300px)); }
.looks .lk-pick { grid-column: 1; color: var(--ink); font-size: var(--t-body, 17px); text-decoration: underline; }
@media (min-width: 900px), (max-height: 500px) and (orientation: landscape) {
  /* 2637 round 2: the scene stays square but is capped by the dialog's own height (92dvh minus head, padding and the label row), so the $47 row is inside it; the card is as tall as its content */
  .looks .lk-gift.main { align-self: start; }
  .looks .lk-gift.main .lk-th { max-height: max(140px, calc(92dvh - 210px)); }
}
/* 2637 live review r3 (1): sideways, the $47 scene is a short wide crop; keep the frame and her photo in it (frame sits ~17-45% down the scene) */
@media (max-height: 500px) and (orientation: landscape) {
  .looks .lk-gift.main .lk-th img, .looks .lk-gift.main .lk-scene { object-position: 50% 28%; }
}

/* 2691 live review 1: shapes (a mask row on the variant) and cut-out fronts, her photo in each */
.looks .lk-vstage .lk-art .c.shape { background: none; }
.looks .lk-vstage .lk-art:has(.shape) { background: var(--surface); }
.looks .lk-art .c.shape { -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.looks .lk-art.cut { position: relative; display: grid; overflow: hidden; }
.looks .lk-art.cut > .c { grid-area: 1 / 1; background: none; }
.looks .lk-art.cut .c.back.bw img { filter: grayscale(1) contrast(1.25) brightness(.6); }
.looks .lk-art.cut .c.back.sun img { filter: sepia(1) saturate(2.6) hue-rotate(-12deg) brightness(1.15); }
.looks .lk-art.cut .c.back.pop img { filter: saturate(2.4) hue-rotate(160deg) brightness(1.05); }
.looks .lk-art.cut .lk-disc { position: absolute; right: 4%; top: 6%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: var(--sun, #f2b632); }
.looks .lk-art.cut .c.front { -webkit-mask-image: radial-gradient(ellipse 34% 44% at 50% 56%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 34% 44% at 50% 56%, #000 55%, transparent 100%); }
.looks .lk-art.cut .c.front.pop { -webkit-mask-image: radial-gradient(ellipse 40% 50% at 56% 60%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 40% 50% at 56% 60%, #000 55%, transparent 100%); }
.looks .lk-art.cut .c.back.pop { margin: 8%; border: 3px solid var(--ink); }
.looks .lk-art.cut { aspect-ratio: 4 / 5; }
.looks .lk-art.cut > .c { position: relative; min-height: 0; }
.looks .lk-art.cut > .c img { position: absolute; inset: 0; }
.looks .lk-vt .lk-art { aspect-ratio: 4 / 5; height: auto; }
.looks .lk-vt .lk-art { justify-self: stretch; width: auto; align-self: start; }
.looks .lk-vt .lk-art.cut > .c { width: 100%; }

/* 2691 live review r3 (2, 3): no hard ellipse edge on a cut-out front (a feathered spotlight until the real subject file of 2517 exists); every swatch the same box, evenly spaced, none cropped */
.looks .lk-vs { gap: 10px; }
.looks .lk-vt { height: auto; min-height: var(--lk-vt, 56px); align-content: center; }
.looks .lk-vt .lk-art, .looks .lk-vt .lk-art.cut { width: 100%; height: auto; aspect-ratio: 4 / 5; justify-self: stretch; overflow: hidden; }
.looks .lk-vt .lk-art.cut .c.back.pop { margin: 0; border: 0; }
.looks .lk-vt .lk-art { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
.looks .lk-vt .lk-art .lk-cg { height: 100%; width: 100%; gap: 2px; }
.looks .lk-vt .lk-art .c.e { min-width: 0; }
.looks .lk-art .c.shape { width: 100%; height: 100%; }
.looks .lk-vt .lk-art .c.shape { background: var(--line); }
/* 2691 live review r3 (4): wide or sideways, the card reads across: her picture, the swatches beside it, then name, caption and price in the space that was empty */
@media (min-width: 900px), (max-height: 500px) and (orientation: landscape) {
  .looks .lk-vcard { grid-template-columns: minmax(0, 200px) var(--lk-vt, 56px) minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .looks .lk-vcard > h3 { grid-column: 3; grid-row: 1; }
  .looks .lk-vcard > .lk-vstage { grid-column: 1; grid-row: 1 / span 3; }
  .looks .lk-vcard > .lk-vs { grid-column: 2; grid-row: 1 / span 3; }
  .looks .lk-vcard > .lk-cap { grid-column: 3; grid-row: 2; }
  .looks .lk-vcard > .lk-vbuy { grid-column: 3; grid-row: 3; align-self: start; max-width: 420px; }
}
/* 3026: Move under her collage: "Move" and each photo as a chip (as on the frames page); a tapped photo opens the Move sheet. Nothing sits on a photo. */
.looks .lk-art .c.mv { cursor: pointer; }
.looks .lk-art .c.mv:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.looks .lk-mv { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 6px; margin-top: 8px; }   /* 3571: equal photo tiles that fill the row: 4 on one line beside the layouts at 390 (about 62 px; 3 + 1 at 320) */
.looks .lk-mv-l { grid-column: 1 / -1; color: var(--muted); font-size: var(--t-small, 15px); }   /* 3571: "Move" above its row, so the photos (big enough to tell apart) share the line */
.looks .lk-mv-b { position: relative; width: 100%; height: auto; aspect-ratio: 1; padding: 0; overflow: hidden; border-radius: 10px; border: 2px solid var(--line); background: var(--line); cursor: pointer; box-sizing: border-box; }
.looks .lk-mv-b img { display: block; width: 100%; height: 100%; object-fit: cover; }
.looks .lk-mv-b:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.looks .pa-card { background: var(--surface); color: var(--ink); }
.looks .pa-bar .pa-ok { background: var(--accent); color: var(--on-accent); }
/* 3571: one photo: one button, her photo in the print's shape and "Move your photo", above the gifts it changes; a whole row of the gift grid on a laptop */
.looks .lk-mv1 { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r, 14px);
  background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; text-align: start; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.looks .lk-mv1:active { transform: scale(.98); }
.looks .lk-mv1:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.looks .lk-mv1-p { flex: none; display: grid; place-items: center; width: 56px; height: 56px; }
.looks .lk-mv1-p img { display: block; max-width: 56px; max-height: 56px; border-radius: 6px; box-shadow: 0 0 0 1px var(--line); }
