/* ---------- the film left behind ---------- */
/* One row on a wide screen, stacked on a phone; the buttons keep a finger's height. */
.film-again { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 16px 0 0;
  padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-md);
  background: rgba(var(--wash-rgb), .04); }
.film-again-said { display: flex; flex-direction: column; min-width: 0; flex: 1 1 14ch; }
.film-again-said strong { font-weight: 700; }
.film-again-said span { color: var(--muted); font-size: .82rem; }
/* The two together, so a phone never stacks the quiet one under the offer as a second button of its own. It wraps
   rather than squeezing them: three buttons across a 360 px phone left "Open it" broken over two lines. */
.film-again-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-inline-start: auto; }
.film-again-open, .film-again-dismiss { display: inline-flex; align-items: center; min-height: 44px;
  border-radius: var(--r-pill); font: inherit; cursor: pointer; }
/* Each button keeps its own words on one line: a label of two short words is not a label to break. The offer of
   another film is not one of them -- it carries the album's own name ("Add 7 new photos to Seychelles"), which no
   phone fits on one line and no name of ours decides the length of. */
.film-again-open, .film-again-dismiss { white-space: nowrap; }
.film-again-open { padding: 0 18px; font-weight: 650; background: var(--accent); color: var(--on-accent); border: 0;
  text-decoration: none; }
/* Quiet on purpose: opening the film is the offer, and this is only the way to be left alone. */
.film-again-continue { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border-radius: 999px;
  max-width: 100%; font-weight: 600; font-size: .85rem; line-height: 1.2; text-align: start; overflow-wrap: anywhere;
  background: transparent; color: var(--ink); border: 1px solid var(--line); cursor: pointer; }
.film-again-continue:disabled { color: var(--muted); cursor: default; }
.film-again-dismiss { padding: 0 12px; font-size: .85rem; background: transparent; color: var(--muted); border: 0; }
.film-again-dismiss:hover { color: var(--ink); text-decoration: underline; }

/* The albums this browser has a film of (app-my-albums.js), under the banner: one row an album, built like the
   banner so the two read as one offer and not as two designs. */
.my-albums { margin: 14px 0 0; }
.my-albums h2 { margin: 0 0 8px; color: var(--muted); font-size: .74rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; }
.my-albums-list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
/* One card: the name and when it was created with the three dots at the end, then Watch, Edit and the "?" on a row of
   their own. The row's own wrapping keeps the buttons whole on a narrow phone (min-width 0 on each, 44 px tall). */
.my-album { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 14px;
  border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(var(--wash-rgb), .04); }
.my-album-cover { flex: none; width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: rgba(var(--wash-rgb), .08); }
.my-albums-list[data-view="list"] .my-album-cover { width: 40px; height: 40px; border-radius: 8px; }
.my-album-top { position: relative; display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
/* The three dots: the card's way to Remove. The menu under them and the two-button question that follows sit in the
   same corner, so the card has no line of its own for a question asked once (app-my-albums.js albumPurgeControl). */
.my-album-more { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-block-start: -8px; margin-inline-end: -8px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.my-album-more svg { width: 20px; height: 20px; fill: currentColor; }
.my-album-more:hover, .my-album-more[aria-expanded="true"] { color: var(--ink); background: rgba(var(--wash-rgb), .08); }
.my-album-more[hidden] { display: none; }
.my-album-menu { position: absolute; z-index: 5; inset-inline-end: 0; top: 40px; min-width: 180px; margin: 0; padding: 6px;
  list-style: none; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line-strong);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.my-album-menu[hidden] { display: none; }
.my-album-purge { display: block; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent;
  color: var(--danger, #e2645a); font: inherit; font-size: .95rem; text-align: start; cursor: pointer; }
.my-album-purge:hover, .my-album-purge:focus-visible { background: rgba(226, 100, 90, .12); }
.my-album-purge-ask { position: absolute; top: 0; inset-inline-end: 0; display: flex; align-items: center; gap: 6px; }
.my-album-purge-ask[hidden] { display: none; }
.my-album-purge-ask button { min-height: 32px; padding: 4px 10px; border-radius: 999px; font: inherit;
  font-weight: 600; font-size: .78rem; line-height: 1.1; cursor: pointer; }
.my-album-purge-yes { border: 1px solid var(--danger, #e2645a); background: var(--danger, #e2645a); color: #fff; }
.my-album-purge-no { border: 1px solid var(--line); background: transparent; color: var(--ink); }
/* "7 new photos and videos are in your album" and the button that adds them to this film: a line of its own under
   the buttons, the album's news, in the accent so it is seen (app-my-albums.js albumFreshNote). */
.my-album-fresh { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-width: 0; }
.my-album-fresh[hidden] { display: none; }
.my-album-fresh-said { min-width: 0; color: var(--ink); font-size: .85rem; font-weight: 600; overflow-wrap: anywhere; }
.my-album-bring { min-height: 44px; max-width: 100%; padding: 6px 14px; border: 0; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font: inherit; font-weight: 700;
  font-size: .85rem; line-height: 1.2; text-align: start; overflow-wrap: anywhere; cursor: pointer; }
.my-album-said { display: flex; flex-direction: column; min-width: 0; flex: 1 1 0; }
.my-album-said strong { font-weight: 700; font-size: 1.05rem; overflow-wrap: anywhere; }
.my-album-said span { color: var(--muted); font-size: .82rem; }
/* When it was created, in the accent: the line that tells two films of one album apart at a glance. */
.my-album-said .my-album-made { color: var(--accent); font-weight: 600; margin-top: 1px; }
.my-album-said .my-album-made[hidden], .my-album-said .my-album-uses[hidden] { display: none; }
.my-album-note:empty { display: none; }
.my-album-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
/* Watch (or Continue) is the filled one, Edit the outlined one: the film that is there is the first thing to reach. */
.my-album-again, .my-album-another { flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 6px 14px; border-radius: 999px; font: inherit; font-weight: 600; font-size: .9rem;
  line-height: 1.2; text-align: center; overflow-wrap: anywhere; cursor: pointer; }
.my-album-again { background: var(--accent); color: var(--on-accent); border: 1px solid var(--accent); }
.my-album-another { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.my-album-another[hidden] { display: none; }
.my-album-again:disabled, .my-album-another:disabled { opacity: .6; cursor: default; }

/* The album's name is the customer's to change (app-film-again.js albumRenameControl): a quiet word under the name,
   and in its place one field and its Save -- two shapes, so a glance says which of the two the control is in. */
.album-rename { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 2px; }
.album-rename-open { min-height: 24px; padding: 0; background: transparent; color: var(--muted); border: 0;
  font: inherit; font-size: .78rem; text-decoration: underline; cursor: pointer; }
.album-rename-open:hover { color: var(--ink); }
.album-rename-form { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.album-rename-field { min-width: 0; flex: 1 1 12ch; min-height: 32px; padding: 0 8px; border-radius: 10px;
  background: rgba(var(--wash-rgb), .06); color: var(--ink); border: 1px solid var(--line-strong); font: inherit;
  font-size: .85rem; }
.album-rename-save { min-height: 32px; padding: 0 12px; border-radius: var(--r-pill); background: var(--accent);
  color: var(--on-accent); border: 0; font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; }
.album-rename-save:disabled { opacity: .6; cursor: default; }

/* The heading of the albums column and, from six albums, the choice between cards and a compact list
   (app-my-albums.js drawAlbumsView): two real buttons, a different glyph for each, the pressed one filled. */
.my-albums-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; }
.my-albums-head h4 { margin: 0; min-width: 0; }
/* The start page's heading: the section's name in the page's own voice, with the line that says what its buttons do. */
.start-albums { margin-top: 36px; }
.start-albums-words { min-width: 0; }
.start-albums h2 { margin: 0; color: var(--ink); font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; text-transform: none; }
.start-albums p { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }
.start-albums[hidden] { display: none; }
.albums-view { display: flex; gap: 4px; flex: none; }
.albums-view[hidden] { display: none; }
.albums-view-btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line);
  border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; }
.albums-view-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.albums-view-btn[aria-pressed="true"] { color: var(--ink); border-color: var(--line-strong); background: rgba(var(--wash-rgb), .1); }
/* The list: one row an album -- name, then length, clips and date on one line -- with the same Watch and Edit buttons
   beside it. The rows keep a finger-sized height; the card's longer lines (when it was created, what the film uses)
   are left out. */
.my-album-compact:not([hidden]) { display: none; }
.my-albums-list[data-view="list"] .my-album-compact:not([hidden]) { display: block; }
.my-albums-list[data-view="list"] .my-album-made, .my-albums-list[data-view="list"] .my-album-uses,
.my-albums-list[data-view="list"] .my-album-note { display: none; }
.my-albums-list[data-view="list"] { gap: 4px; }
.my-albums-list[data-view="list"] .my-album { flex-direction: row; flex-wrap: wrap; align-items: center; min-height: 44px; padding-block: 6px; gap: 4px 10px; }
.my-albums-list[data-view="list"] .my-album-top { flex: 1 1 14ch; }
.my-albums-list[data-view="list"] .my-album-acts { flex: 0 1 auto; }
.my-albums-list[data-view="list"] .my-album-fresh { flex: 1 0 100%; }
/* An upload still being sent: its own picture where a film has its cover (a tray with an arrow going in), so it is never
   read as a film (app-my-albums.js uploadAlbumRow). */
.my-album-upload-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px;
  border-radius: 12px; background: rgba(var(--wash-rgb), .08); color: var(--accent); }
.my-album-upload-icon svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.my-albums-list[data-view="list"] .my-album-upload-icon { width: 40px; height: 40px; border-radius: 8px; }
.my-albums-list[data-view="list"] .my-album-upload-icon svg { width: 24px; height: 24px; }
