/* The look of the film: the review's third step (review/step3.html) and the sheet it opens (app-review-look-sheet.js). */

/* The tokens come from theme.css, which already follows the device's light and dark setting and the customer's pick; these
   are the few this step adds, derived from them. Dark is the default. */
:root {
  --look-on-gold: #14100a;                 /* dark ink for a fill of --gold, whichever theme (theme.css: dark text on it) */
  --look-tab-dim: var(--bg-2);             /* a tab that is not open */
  --look-shadow: 0 10px 40px rgba(0, 0, 0, .6);
  --look-backdrop: rgba(0, 0, 0, .65);
}
:root[data-theme="light"] {
  --look-shadow: 0 10px 40px rgba(0, 0, 0, .22);
  --look-backdrop: rgba(20, 16, 10, .5);
}

/* ---------- the step: the summary card ---------- */
.look-step-card .legend { margin: 0 0 12px; }
/* Four large picture cards, two to a row: the customer's own cover with the title in the card's style. */
.look-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
/* [data-style]: the map look's card under More options shares the class name and keeps its own rules (app-review-tools.css). */
.look-card[data-style] { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 8px 10px;
  border: 2px solid var(--line-strong); border-radius: 14px; background: transparent; color: var(--ink); font: inherit; text-align: center; cursor: pointer; }
.look-card[data-style] strong { font-size: 1rem; overflow-wrap: anywhere; }
.look-card[data-style] small { font-size: .8rem; color: var(--muted); overflow-wrap: anywhere; }
.look-card[data-style][aria-checked="true"] { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); background: rgba(var(--wash-rgb), .08); }
.look-card[data-style]:focus-visible, .look-customize:focus-visible, .look-skip:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
/* The preview is drawn at the film's own shape (960 px on the long side, 9:16 or 16:9), so the frame takes that shape and the
   whole picture shows: a 4:5 frame with cover cut a tenth off the top and bottom, and the title sits at the top. */
.look-card-pic { display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: #000; }
.look-card-pic[data-shape="landscape"] { aspect-ratio: 16 / 9; }
.look-card-pic img { display: block; width: 100%; height: 100%; object-fit: contain; }
.look-card-pic img[hidden] { display: none; }
/* The tick says which card is chosen; it is part of the card and a tap on it is a tap on the card. */
.look-card-tick { position: absolute; inset-block-start: -8px; inset-inline-end: -8px; padding: 3px; border-radius: 50%; background: var(--gold);
  color: var(--look-on-gold); box-sizing: content-box; display: none; }
.look-card[data-style][aria-checked="true"] .look-card-tick { display: block; }
.look-customize { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; margin-top: 14px; min-height: 56px;
  padding: 8px 16px; border: 2px solid var(--ink); border-radius: 16px; background: transparent; color: var(--ink); font: inherit; text-align: start; cursor: pointer; }
.look-customize svg { flex: 0 0 auto; }
.look-change-words { display: block; min-width: 0; }
.look-change-words strong { display: block; font-size: 1.1rem; font-weight: 800; }
.look-change-words small { display: block; font-size: .8rem; font-weight: 600; opacity: .8; }
/* A small link under the Customize button: a short way to the end, a fast-forward glyph that points where the page reads on. */
.look-skip { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 18px auto 0; min-height: 44px; padding: 4px 10px; border: 0;
  background: transparent; color: var(--ink); font: inherit; text-decoration: underline; cursor: pointer; }
.look-skip-glyph { flex: 0 0 auto; }
:root[dir="rtl"] .look-skip-glyph, [dir="rtl"] .look-skip-glyph { transform: scaleX(-1); }
.look-skip-note { margin: 2px 0 0; text-align: center; font-size: .85rem; color: var(--muted); }

/* ---------- the sheet ---------- */
html.look-sheet-open { overflow: hidden; }
.look-backdrop { position: fixed; inset: 0; z-index: 60; background: var(--look-backdrop); animation: look-fade .2s; }
.look-backdrop[hidden] { display: none; }
/* Pinned to the top and the bottom of the visible screen, not given a height in vh: vh is the screen without the browser's
   address bar, so a vh height overhung the visible bottom (the footer buttons) or, with the bar showing, left the top
   behind the bar. Both insets follow the bar as it comes and goes. */
.look-sheet { position: fixed; z-index: 61; inset: 24px 0 0 0; display: flex; flex-direction: column;
  overflow: hidden; background: var(--surface); color: var(--ink); border-radius: 22px 22px 0 0; box-shadow: var(--look-shadow);
  animation: look-up .28s ease-out; }
.look-sheet[hidden] { display: none; }
@media (min-width: 700px) {
  .look-sheet { inset: 0; margin: auto; width: 480px; height: min(780px, 90vh); border-radius: 22px; border: 1.5px solid var(--line-strong);
    animation: look-pop .2s ease-out; }
}
@keyframes look-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes look-pop { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes look-fade { from { opacity: 0; } to { opacity: 1; } }
.look-head { padding: 14px 16px 6px; }
.look-head h2 { margin: 0; font-size: 1.15rem; }
.look-tabwrap { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; padding: 6px 12px 10px; background: var(--surface-2); }

/* Raised tabs, as the page's other property sheets have them: the open one is the page's colour with a gold top edge. */
.look-sheet-tabs { display: flex; gap: 4px; padding-inline: 8px; position: relative; z-index: 2; flex: 0 0 auto; }
.look-sheet-tab { flex: 0 0 auto; min-width: 104px; min-height: 44px; padding: 9px 16px 8px; text-align: center; font: inherit; font-weight: 700;
  color: var(--muted); background: var(--look-tab-dim); border: 1.5px solid var(--line-strong); border-block-end: 0;
  border-radius: 12px 12px 0 0; position: relative; top: 2px; cursor: pointer; }
.look-sheet-tab[aria-selected="true"] { color: var(--ink); background: var(--surface); top: 1.5px; min-height: 47px; padding-top: 11px;
  box-shadow: inset 0 3px 0 var(--accent); }
.look-sheet-tab:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.look-dot { display: inline-block; width: 9px; height: 9px; margin-inline-start: 7px; border-radius: 50%; background: var(--gold); vertical-align: middle; }
.look-dot[hidden] { display: none; }
.look-body { flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 14px;
  background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 0 12px 12px 12px; position: relative; z-index: 1; }
[dir="rtl"] .look-body { border-radius: 12px 0 12px 12px; }
.look-panel[hidden] { display: none; }
.look-foot { display: flex; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-block-start: 1.5px solid var(--line-strong); background: var(--surface); }
.look-foot button { flex: 1 1 0; min-width: 0; min-height: 50px; border-radius: var(--r-pill); border: 1.5px solid var(--ink); background: transparent;
  color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.look-foot .look-done { background: var(--ink); color: var(--surface); }
.look-foot button:focus-visible, .look-chip:focus-visible, .look-seg button:focus-visible, .look-pp:focus-visible,
.look-sheet-close:focus-visible, .look-check input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.look-sheet-hint { margin: 0 0 10px; font-size: .85rem; color: var(--muted); }
.look-note { margin: 12px 2px 0; font-size: .8rem; color: var(--muted); }

/* ---------- the Text tab ---------- */
/* The body gives the tab its whole width so the pinned bar is flush with the sheet; the settings carry the side padding. */
.look-body[data-tab="text"] { padding: 0; }
/* The preview bar: pinned while the settings scroll under it, neutral (never gold) because it only looks. */
.look-text-stage { position: sticky; top: 0; z-index: 3; display: grid; gap: 10px; padding: 10px 14px 12px;
  background: var(--surface); border-block-end: 1.5px solid var(--line-strong); }
.look-text-row { display: flex; gap: 12px; align-items: center; min-width: 0; }
/* The thumbnail is the same cut around the lettering that the tiles show (3:2), so the style can be read in it; a tap enlarges the whole frame. */
.look-text-thumb { position: relative; flex: none; width: 132px; height: 88px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px var(--line-strong); cursor: pointer; }
.look-text-thumb.is-pulse { animation: look-text-pulse .9s ease-out 1; }
@keyframes look-text-pulse { 0% { box-shadow: 0 0 0 1px var(--line-strong), 0 0 0 0 rgba(240, 176, 79, .9); } 100% { box-shadow: 0 0 0 1px var(--line-strong), 0 0 0 10px rgba(240, 176, 79, 0); } }
.look-text-grow { position: absolute; z-index: 2; inset-inline-end: 3px; inset-block-end: 3px; width: 22px; height: 22px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(10, 12, 17, .78); color: #fff; }
.look-text-frame { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: #000; }
.look-text-frame img { display: block; width: 100%; height: 100%; object-fit: cover; transition: filter .15s; }
.look-text-frame.is-loading img { filter: brightness(.6); }
.look-text-frame.is-placeholder img { filter: brightness(.55); }
.look-text-frame.is-placeholder { position: relative; }
.look-text-glyph { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }
.look-text-glyph svg { width: 44px; height: 44px; }
/* Automatic: the fixed looks one over the other, each cropped to where its look sits in the frame. */
.look-text-rows { display: grid; width: 100%; height: 100%; gap: 2px; background: #000; }
.look-text-rows > span { display: block; min-height: 0; overflow: hidden; }
.look-text-rows-note img { object-position: 50% 92%; }
.look-text-rows-card img { object-position: 50% 40%; }
.look-text-pv { flex: 1 1 auto; min-width: 0; display: grid; gap: 6px; align-content: center; }
.look-text-label { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.look-text-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 14px; }
.look-text-mode { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; min-height: 56px; padding: 6px 4px;
  border: 2px solid transparent; border-radius: 10px; background: transparent; color: var(--muted); font: inherit; font-size: .8rem; font-weight: 700; line-height: 1.15;
  text-align: center; cursor: pointer; }
.look-text-mode span { overflow-wrap: anywhere; }
/* The one on view is a solid gold block with its icon filled in (a different shape, not only a different colour). */
.look-text-mode[aria-checked="true"] { background: var(--gold); border-color: var(--gold); color: var(--look-on-gold); font-weight: 800; }
.look-text-mode[aria-checked="true"] svg rect { fill: currentColor; }
.look-text-mode[aria-checked="true"] svg path { stroke: var(--gold); }
.look-text-note { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.35; overflow-wrap: anywhere; }
.look-text-note:empty { display: none; }
.look-text-thumb:focus-visible, .look-text-mode:focus-visible, .look-text-close:focus-visible, .look-face:focus-visible, .look-text-seg:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
/* The enlarged preview covers the sheet, and only a tap on the thumbnail opens it. */
.look-text-zoom { position: absolute; inset: 0; z-index: 20; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 16px 16px; background: #06070a; color: #f3efe7; }
.look-text-zoom-top { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.look-text-close { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 16px; border: 2px solid currentColor; border-radius: 999px; background: transparent; color: inherit; font: inherit; font-weight: 800; cursor: pointer; }
.look-text-big { flex: 1 1 auto; min-height: 0; max-width: 100%; height: min(430px, 100%); aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; }
.look-text-big[data-shape="landscape"] { flex: none; width: 100%; height: auto; max-height: 50%; aspect-ratio: 16 / 9; }
.look-text-zoom .look-text-pv { width: 100%; flex: none; }
.look-text-zoom .look-text-note { text-align: center; }
/* The settings. */
.look-text-sec { padding: 22px 14px 20px; border-block-end: 1.5px solid var(--line-strong); }
.look-text-sec.is-folding { padding-block: 6px; }
.look-text-sec:last-child { border-block-end: 0; }
.look-text-head { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1.15rem; }
/* A folding setting is one row, its heading the button: the title, what is chosen, a chevron. */
.look-text-toggle { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 52px; padding: 0; border: 0; background: transparent; color: inherit;
  font: inherit; font-weight: inherit; text-align: start; cursor: pointer; }
.look-text-title { flex: none; }
.look-text-current { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: .85rem; font-weight: 600; text-align: end; }
.look-text-chevron { flex: none; color: var(--muted); transition: transform .15s; }
.look-text-toggle[aria-expanded="true"] .look-text-chevron { transform: rotate(180deg); }
.look-text-toggle:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.look-text-body[hidden] { display: none; }
.look-text-body { padding-block-end: 10px; }
.look-text-lock-icon { display: inline-flex; color: var(--muted); }
.look-text-lock-icon[hidden] { display: none; }
.look-text-hint, .look-text-sub { margin: 4px 0 14px; color: var(--muted); font-size: .85rem; line-height: 1.4; }
.look-text-sub { margin-block-start: 0; font-size: .72rem; font-style: italic; }
.look-text-sub[hidden] { display: none; }
.look-faces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.look-face { position: relative; min-width: 0; padding: 0 0 7px; border: 2px solid var(--line-strong); border-radius: 14px; background: var(--surface-2); color: var(--ink);
  font: inherit; font-size: .95rem; text-align: center; cursor: pointer; }
.look-face b { display: block; overflow-wrap: anywhere; }
.look-face small { display: block; color: var(--muted); font-size: .72rem; line-height: 1.2; }
.look-face-pic { display: flex; align-items: center; justify-content: center; aspect-ratio: 1.5; margin-block-end: 6px; overflow: hidden; border-radius: 12px 12px 5px 5px;
  background: var(--surface-3, #e8e1d8); color: var(--muted); font-size: 1.5rem; }
.look-face-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.look-face.is-classic { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding-block: 6px; padding-inline: 6px 12px; text-align: start; }
.look-face.is-classic .look-face-pic { flex: none; width: 132px; margin: 0; }
.look-face-words { display: grid; gap: 2px; min-width: 0; font-weight: 800; }
.look-face[aria-checked="true"] { border-color: var(--accent); background: var(--selected-bg); }
.look-face[aria-checked="true"] .look-chip-tick { display: block; }
.look-text .look-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.look-text .look-chip { width: auto; padding: 0 0 8px; font-size: .95rem; }
.look-text .look-chip b { font-size: .95rem; }
.look-text .look-chip small { font-size: .72rem; }
.look-text .look-chip-pic { aspect-ratio: 1.5; margin-bottom: 6px; border-radius: 12px 12px 6px 6px; }
.look-text .look-chip-pic img { object-position: 50% 50%; }
/* Automatic takes a row of its own, and so does a last card that would stand alone: picture beside the words. */
.look-text .look-chips > .look-chip:first-child, .look-text .look-chips > .look-chip:last-child:nth-child(even) { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px;
  padding: 6px 12px 6px 6px; text-align: start; }
.look-text .look-chips > .look-chip:first-child .look-chip-pic, .look-text .look-chips > .look-chip:last-child:nth-child(even) .look-chip-pic { flex: none; width: 132px; margin: 0; }
.look-chip-words { display: grid; gap: 2px; min-width: 0; }
.look-chip-pic.is-auto { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.look-cap-auto-glyph { color: var(--gold); }
.look-text-sec.is-locked .look-chips { opacity: .5; }
.look-text-sec.is-locked .look-chip { cursor: not-allowed; }
.look-text-sec.is-locked .look-chip-pic { filter: grayscale(1); }
.look-text-locked { display: flex; gap: 10px; margin: 14px 14px 0; padding: 12px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface-2); font-size: .8rem; line-height: 1.45; }
.look-text-locked[hidden] { display: none; }
.look-text-locked p { margin: 4px 0 0; color: var(--muted); }
.look-text-segs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.look-text-seg { position: relative; display: flex; align-items: center; gap: 14px; min-width: 0; min-height: 64px; padding: 10px 14px; border: 2px solid var(--line-strong); border-radius: 14px;
  background: transparent; color: var(--ink); font: inherit; font-size: .95rem; text-align: start; cursor: pointer; }
.look-text-seg .look-glyph { flex: none; width: 36px; height: 21px; }
.look-text-seg-words { display: grid; gap: 2px; min-width: 0; }
.look-text-seg b { font-weight: 800; }
.look-text-seg small { color: var(--muted); font-size: .8rem; line-height: 1.3; overflow-wrap: anywhere; }
.look-text-seg[aria-checked="true"] { border-color: var(--gold); background: var(--selected-bg); }
.look-text-seg[aria-checked="true"] .look-chip-tick { display: block; }
@media (prefers-reduced-motion: reduce) { .look-text-chevron { transition: none; } .look-text-thumb.is-pulse { animation: none; } .look-text-frame img { transition: none; } }

/* The chips of the day and caption styles: a picture over the style name, with a tick when chosen. */
.look-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
/* The chip's own small picture, enlarged, until the real one arrives. */
.look-chip { position: relative; width: 78px; min-width: 0; padding: 4px 3px 6px; border: 2px solid var(--line-strong); border-radius: 12px;
  background: var(--surface-2); color: var(--ink); font: inherit; font-size: .75rem; line-height: 1.2; text-align: center; cursor: pointer; }
.look-chip b { display: block; font-size: .8rem; overflow-wrap: anywhere; }
.look-chip small { display: block; color: var(--muted); font-size: .66rem; overflow-wrap: anywhere; }
.look-chip-pic { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1; margin-bottom: 4px; border-radius: 8px;
  overflow: hidden; background: var(--surface-3, #e8e1d8); color: var(--muted); font-size: 1.5rem; }
.look-chip-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
/* Until the real picture of a style arrives, its name is set in a face that suggests it. */
.look-word-inkwell { font-family: "Snell Roundhand", "Segoe Script", cursive; font-style: italic; }
.look-word-editorial { font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
.look-word-neon { color: #7ff4ff; text-shadow: 0 0 6px #00d8ff, 0 0 14px #00a8ff; font-weight: 700; }
.look-word-cinema { font-family: Impact, "Arial Narrow", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.look-word-stencil { font-family: "Stencil", "Courier New", monospace; font-weight: 900; letter-spacing: .04em; }
.look-chip-tick { position: absolute; inset-block-start: 0; inset-inline-end: 0; display: none; color: var(--gold); transform: translate(30%, -30%); }
[dir="rtl"] .look-chip-tick { transform: translate(-30%, -30%); }
.look-chip[aria-checked="true"] { border-color: var(--accent); background: var(--selected-bg); }
.look-chip[aria-checked="true"] .look-chip-tick { display: block; }
/* Until a tile arrives a chip shows the look's name on a neutral swatch, never a black square; a failed one is dashed and a tap asks again. */
.look-cap-ph { padding: 4px; font-size: .7rem; font-weight: 600; line-height: 1.15; text-align: center; overflow-wrap: anywhere; }
.look-chip.is-failed .look-chip-pic { outline: 2px dashed var(--line-strong); outline-offset: -3px; }
.look-cap-pic { position: relative; }

/* ---------- the Moments tab ---------- */
.look-seg { display: flex; margin: 2px 0 6px; border: 1.5px solid var(--line-strong); border-radius: 12px; overflow: hidden; }
.look-seg button { flex: 1 1 0; min-width: 0; min-height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  padding: 6px 3px; border: 0; border-inline-start: 1.5px solid var(--line-strong); background: transparent; color: var(--ink); font: inherit;
  font-size: .78rem; font-weight: 600; line-height: 1.15; cursor: pointer; }
.look-seg button:first-child { border-inline-start: 0; }
.look-seg button[aria-checked="true"] { background: var(--gold); color: var(--look-on-gold); font-weight: 800; }
.look-seg button span { overflow-wrap: anywhere; }
.look-count { min-height: 1.4em; margin: 0 2px 12px; font-size: .82rem; color: var(--muted); }
.look-sheet-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.look-sheet-grid.is-off { opacity: .45; }
.look-tile { min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 6px; border: 2px solid var(--line-strong); border-radius: 14px; background: var(--surface-2); }
.look-tile.is-on { border-color: var(--accent); background: var(--selected-bg); }
.look-tile.is-dim { opacity: .55; }
.look-tile h3 { margin: 0; font-size: .95rem; }
.look-tile p { margin: 0; font-size: .75rem; line-height: 1.3; color: var(--muted); overflow-wrap: anywhere; }
.look-tile-why { font-style: italic; }
.look-tile-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.look-check { display: flex; align-items: center; gap: 6px; min-width: 0; min-height: 44px; font-size: .85rem; font-weight: 700; cursor: pointer; }
.look-check input { flex: 0 0 auto; width: 22px; height: 22px; margin: 0; accent-color: var(--gold); }
/* The picture is its own button (enlarge), the pause glyph another, the tick row a third: three hit areas of a finger's size. */
.look-enlarge { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 44px; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.look-enlarge-glyph { position: absolute; inset-block-end: 6px; inset-inline-end: 6px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; }
.look-enlarge:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.look-stage .look-pp { z-index: 1; width: 44px; height: 44px; }
.look-stage video { background: #111; }
.look-stage .look-example { position: absolute; inset-block-start: 6px; inset-inline-start: 6px; z-index: 1; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .62); color: #fff; font-size: .72rem; pointer-events: none; }
.look-sheet-close.look-big-x { width: 44px; height: 44px; min-height: 44px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.look-big-check { min-height: 44px; }
.look-stage { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 10px; background: #111; }
.look-stage[data-shape="landscape"] { aspect-ratio: 4 / 3; }
.look-stage video { display: block; width: 100%; height: 100%; object-fit: cover; }
.look-pp { position: absolute; inset-block-start: 6px; inset-inline-end: 6px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; cursor: pointer; }
/* The big view of one style, over the sheet. */
.look-big { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; background: var(--surface); }
.look-big[hidden] { display: none; }
.look-big-head { display: flex; align-items: center; justify-content: flex-start; gap: 12px; padding: 14px 16px 4px; }
.look-big-head h3 { margin: 0; font-size: 1.2rem; }
.look-sheet-close { min-height: 40px; padding: 6px 16px; border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); background: var(--surface-2);
  color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.look-big-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 6px 16px 16px; }
.look-big-body .look-stage { width: min(100%, calc(64vh * 9 / 16)); }   /* the screen's width, and no taller than the screen */
.look-big-body .look-stage[data-shape="landscape"] { width: 100%; max-height: 64vh; }
.look-big-body .look-stage { aspect-ratio: 9 / 16; }
.look-big-body .look-stage[data-shape="landscape"] { aspect-ratio: 16 / 9; }
.look-big-body .look-stage video { object-fit: contain; }
.look-big-body p { margin: 0; text-align: center; color: var(--muted); font-size: .9rem; }

@media (prefers-reduced-motion: reduce) {
  .look-sheet, .look-backdrop { animation: none; }
}

/* The words and maps section under the style cards: the same cards it had as a page of its own, set apart by a heading. */
.look-words { margin-top: 24px; }
.look-words-title { margin: 0 0 12px; font-size: 1.1rem; }
.look-words[hidden] { display: none; }
