/* LND-116 / WIZ-43: the All 21 sheet and the circle row's extras, shared
   by the landing page (which doesn't load theme.css) and /new. */
.ls-open { overflow: hidden; }
.ls-scrim { position: fixed; inset: 0; z-index: 1000; background: rgba(28, 32, 20, .45);
  display: flex; align-items: center; justify-content: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.ls-scrim[hidden] { display: none; }
.ls-sheet { background: var(--surface, #fff); color: var(--text, #2B2A26); width: min(780px, 100%); max-height: 88vh; overflow: auto;
  border-radius: 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); padding: 20px 22px 24px; }
.ls-hd { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; position: sticky; top: -20px;
  background: inherit; padding: 4px 0 10px; margin-top: -4px; z-index: 1; }
.ls-hd h4 { margin: 0; font-size: 20px; line-height: 1.25; }
.ls-hd p { margin: 4px 0 0; font-size: 14px; line-height: 1.45; color: var(--text-2, #6D6D6D); max-width: 56ch; }
.ls-x { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--green-50, #EEF2E4);
  font-size: 24px; line-height: 1; cursor: pointer; color: inherit; }
.ls-grp { margin-top: 14px; }
.ls-grp h5 { margin: 0 0 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2, #6D6D6D); font-weight: 600; }
.ls-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; }
.ls-tile { display: grid; align-content: start; gap: 2px; text-align: left; background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: inherit; min-width: 0; }
.ls-ph { position: relative; display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #F3EFE2;
  box-shadow: 0 0 0 1px var(--line, #E6E8DF); transition: box-shadow .15s, transform .15s; }
.ls-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ls-tile:hover .ls-ph { transform: translateY(-2px); }
.ls-tile[aria-pressed="true"] .ls-ph { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--orange-500, #F08A24); }
.ls-tile b { font-size: 14px; margin-top: 6px; }
.ls-desc { font-size: 12px; line-height: 1.35; color: var(--text-2, #6D6D6D); }
.ls-cost { justify-self: start; margin-top: 4px; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 99px;
  background: var(--green-50, #EEF2E4); color: var(--green-800, #3F5A1E); }
.ls-cost.lock { background: #F4EEDD; color: #7A6431; }
.ls-tile.locked .ls-ph img { opacity: .6; }
.ls-yours { position: absolute; left: 8px; top: 8px; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px;
  background: #fff; color: var(--green-800, #3F5A1E); box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
@media (max-width: 600px) {
  .ls-scrim { align-items: flex-end; padding: 0; }
  .ls-sheet { width: 100%; max-height: 90vh; border-radius: 20px 20px 0 0; padding: 16px 16px max(20px, env(safe-area-inset-bottom, 0px)); }
  .ls-hd { top: -16px; }
  .ls-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* the row's extras: a painted look's ✓, a faded look, the All N circle */
.sav .circ { position: relative; }
.sav .seen { position: absolute; right: 2px; bottom: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--green-700, #4E6B2A);
  color: #fff; font-size: 13px; line-height: 22px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.sav.locked .circ img { opacity: .5; filter: saturate(.6); }
.sav.all-looks .circ.quad { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.sav.all-looks .circ.quad img { width: 100%; height: 100%; object-fit: cover; }
/* the form's one line once the pages are this story's (LND-117) */
.look-line { display: flex; align-items: center; gap: 12px; margin-top: 8px; font-size: 15px; }
.look-line .circ { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line, #E6E8DF); }
.look-line .circ img { width: 100%; height: 100%; object-fit: cover; display: block; }
.look-line button { background: none; border: 0; padding: 4px 2px; font: inherit; color: var(--green-800, #3F5A1E); text-decoration: underline; cursor: pointer; }

/* ED-215: the row of circles for a page that has no rules of its own
   (the editor: its setup card, Design → Pictures and Pip's tour). Same
   look as /new's #f-styles and the landing's row. */
.ls-row { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.ls-row .sav { display: grid; justify-items: center; gap: 6px; background: none; border: 0; padding: 0; cursor: pointer; width: 80px; font: inherit; }
.ls-row .sav .circ { width: 68px; height: 68px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line, #E6E8DF); transition: box-shadow .2s, transform .2s; }
.ls-row .sav .circ img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ls-row .sav span:last-child { font-size: 12px; line-height: 16px; font-weight: 500; text-align: center; color: var(--text-2, #6D6D6D); }
.ls-row .sav[aria-pressed="true"] .circ { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--orange-500, #F08A24); }
.ls-row .sav[aria-pressed="true"] span:last-child { color: var(--orange-text, #B45F06); }
.ls-row .sav:hover:not(:disabled) .circ { transform: translateY(-2px); }
.ls-row .sav:disabled { opacity: .5; cursor: default; }
@media (max-width: 480px) { .ls-row { gap: 10px; } .ls-row .sav { width: 70px; } .ls-row .sav .circ { width: 60px; height: 60px; } }
