/* cookie-consent.css — the cookie notice, its ordinary card and the SLIM one-line bar (T4). Its own file since the
 * guest round (2026-10-23): the notice is drawn by _CookieConsent on the public layout AND on the guest layout, which
 * loads the night shell (chronicle.css) and none of components.css — so the rules it needs stand alone here, with the
 * glass look the card used to borrow from .glass-panel and the eyebrow's face. Both layouts link it after their kit. */
.cookie-consent{background:rgba(14,10,31,.6);border:1px solid rgba(243,201,105,.25);border-radius:var(--r-card);box-shadow:var(--shadow-glass);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.cookie-consent .eyebrow{font-family:var(--sans);font-weight:400}
.cookie-consent{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:60;display:flex;align-items:center;gap:16px;max-width:min(720px,calc(100vw - 32px));padding:12px 18px}
.cookie-consent__actions{display:flex;gap:10px;flex:0 0 auto}
/* The notice is a sentence, so it reads as one (2026-10-03, the kit's floors: real text ≥ 11 px, never small and
   faint): Inter 13 in cream .80, not the legacy eyebrow's 10-px tracked capitals at .55. */
.cookie-consent .eyebrow{font-size:13px;letter-spacing:0;text-transform:none;line-height:1.45;color:rgba(var(--cream),.8)}
/* Narrow phones: the single-row layout (text + two non-shrinking buttons) overflows ~360px viewports —
   most visibly on the full-screen mobile shared-album viewer. Span the width with small side margins and
   stack the text over the actions so it always fits. left/right (not left:50%+translateX) also avoids any
   fixed-positioning offset from a transformed ancestor. */
@media (max-width:560px){
  .cookie-consent{left:12px;right:12px;transform:none;max-width:none;flex-direction:column;align-items:stretch;gap:10px}
  .cookie-consent__actions{justify-content:flex-end}
}
/* T4 (2026-09-20) — the SLIM one-line bar, shared viewer pages only (_CookieConsent's `slim` flag). A stranger's
   first screen has to be the album, so the notice becomes a single line above the home indicator with the same
   two actions as text buttons. Declared AFTER the stacking media query on purpose: equal specificity, later
   source, so it also stays one row on a narrow phone. */
.cookie-consent--slim{left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));transform:none;max-width:none;
  flex-direction:row;align-items:center;gap:8px;padding:4px 8px 4px 14px;border-radius:var(--r-pill)}
.cookie-consent--slim .eyebrow{flex:1 1 auto;min-width:0;font-size:11px;letter-spacing:0;line-height:1.35;text-transform:none}   /* the type floor, still one line */
.cookie-consent--slim .cookie-consent__actions{gap:0;flex:0 0 auto}
/* ≥44px tap targets (Apple's HIG minimum) even though the buttons read as quiet text. */
.cookie-consent__action{font-family:var(--sans);font-weight:600;font-size:11px;text-transform:uppercase;letter-spacing:.1em;
  color:rgba(var(--cream),.7);background:none;border:0;cursor:pointer;min-height:44px;min-width:44px;padding:0 10px}
.cookie-consent__action--yes{color:var(--gold)}
.cookie-consent__action:hover{color:var(--gold)}
