/* Account: laid out like Settings. A large title, then one rounded panel in columns (three on computers, two on tablets,
   one on phones): your picture in the big card, grouped lists, and tiles with a coloured icon. Signed out, the account
   pill's sign-in form (shell.js) sits here on phones. The panel, groups, tiles and toast are settings.css's. */
.ac-sheet:not([hidden]) { max-width: 420px; margin: 8px 0 24px; padding: 16px; border-radius: var(--r); background: var(--fr-bg);
  -webkit-backdrop-filter: var(--fr-blur); backdrop-filter: var(--fr-blur); box-shadow: inset 0 0 0 1px var(--fr-rim); }
.acct .set-art { aspect-ratio: 2 / 1; }
.acct .set-art .set-av { width: 92px; height: 92px; font-size: 38px; }
.acct .set-note { max-width: calc(100vw - 32px); text-align: center; text-wrap: balance; }
.ac-input { height: 36px; max-width: 55%; padding: 0 14px; border: 0; border-radius: var(--r); background: transparent; color: var(--label); font: 400 17px/1 var(--font); text-align: right; }
.ac-input:focus { outline: 2px solid var(--accent); outline-offset: 0; }
.set-note.bad { color: #ff453a; }
.ac-sync::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--green); vertical-align: 2px; }
/* a shared Watchlist (list.html): your picture beside the name */
.ac-me { display: flex; align-items: center; gap: 18px; margin: 4px 0 18px; }
.av-xl { width: 76px; height: 76px; font-size: 32px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(255, 255, 255, .25); }
.ac-who { text-align: left; }
.ac-who h1 { margin: 0; text-align: left; }
.ac-sw { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.ac-hue { width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: linear-gradient(145deg, hsl(var(--h) 80% 62%), hsl(calc(var(--h) + 40) 75% 42%)); }
.ac-hue[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--sp-group, var(--bg2)), 0 0 0 4px var(--label); }
.ac-x { flex: none; padding: 6px 4px; border: 0; background: none; cursor: pointer; color: #ff453a; font: 500 15px/1 var(--font); }
.ac-here { margin-left: 6px; padding: 2px 7px; border-radius: var(--r); font-style: normal; font-size: 11px; font-weight: 700; color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.ac-glink { flex-wrap: wrap; }
/* a shared Watchlist */
.ls-sub { margin: 2px 0 0; color: var(--label2); }
/* the page is a wide centred column so the titles sit in the site's usual list: two columns on computers, one on phones */
.lwrap.ls { max-width: 980px; align-items: stretch; }
.ls .ac-me { margin-bottom: 22px; }
.ls-list { width: 100%; }
.ls-cta { align-self: center; margin-top: 28px; }
/* Google's button is a light-scheme frame; on a dark page the browser paints a white box behind it unless the frame is
   told it's light too, so it stays see-through */
#acGLink, #acGLink *, .me-google, .me-google * { color-scheme: light; }
#acGLink iframe { background: transparent !important; }
.ac-link { justify-self: center; padding: 6px; border: 0; background: none; cursor: pointer; color: var(--accent); font: 400 14px/1.3 var(--font); }
.ac-btns { display: flex; gap: 14px; flex: none; }
.ac-ok { color: var(--accent); }
.ac-pwform:not([hidden]) { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; }
.ac-pwform input { min-width: 0; height: 38px; padding: 0 12px; border: 0; border-radius: var(--r); background: var(--fill); color: var(--label); font: 400 15px/1 var(--font); }
/* show password: the eye sits inside the box, at its end */
.ac-pw { position: relative; display: grid; min-width: 0; }
.ac-pw input { width: 100%; padding-right: 48px; }
.ac-pw input::-ms-reveal { display: none; }
.ac-eye { position: absolute; top: 50%; right: 0; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; padding: 0; border: 0; border-radius: var(--r); background: none; color: var(--label3); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color .2s, transform .25s cubic-bezier(.34, 1.56, .64, 1); }
.ac-eye[aria-pressed="true"] { color: var(--label2); } @media (hover: hover) { .ac-eye:hover { color: var(--label2); } }
.ac-eye:active { transform: scale(.96); }
.ac-eye:focus-visible { outline: 2px solid var(--accent); outline-offset: -6px; }
.ac-eye svg { width: 22px; height: 22px; }
.ac-eye-off { opacity: 0; transition: opacity .2s; }
.ac-eye[aria-pressed="true"] .ac-eye-off { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .ac-eye, .ac-eye-off { transition: none; } }
@media (max-width: 560px) { .ac-pwform:not([hidden]) { grid-template-columns: 1fr; } }
.ac-warn { color: #ff9f0a; font-weight: 600; }
.ac-inline { display: inline; padding: 0; font-size: inherit; }
/* slide to sign out */
.ac-slide-row { padding-top: 10px; padding-bottom: 10px; }
.ac-slide { --x: 0px; --p: 0; position: relative; width: 100%; height: 56px; border-radius: var(--r); overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none;
  background: var(--gl-fill); box-shadow: inset 0 0 0 1px var(--gl-rim); }
.ac-slide:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* the red trail grows out of the knob as it slides: its own round ends, and nothing at all while the knob is at rest (no box round the circle) */
.ac-fill { position: absolute; left: 4px; top: 4px; bottom: 4px; width: calc(var(--x) + 48px); border-radius: 24px; background: linear-gradient(90deg, rgba(255, 69, 58, .15), rgba(255, 69, 58, .45)); opacity: min(1, calc(var(--p) * 4)); }
.ac-slide-t { position: absolute; inset: 0; display: grid; place-items: center; padding-left: 40px; font: 400 17px/1 var(--font); letter-spacing: -.01em; -webkit-font-smoothing: antialiased;
  color: transparent; background: linear-gradient(100deg, var(--label3) 0%, var(--label3) 40%, var(--label) 50%, var(--label3) 60%, var(--label3) 100%) 0 0 / 250% 100%;
  -webkit-background-clip: text; background-clip: text; opacity: calc(1 - var(--p) * 1.6); }
:root:not(.still) .ac-slide-t { animation: acShine 2.6s linear infinite; }
@keyframes acShine { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.ac-knob { position: absolute; top: 4px; left: 4px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; cursor: grab; color: #fff;
  background: #ff453a; box-shadow: 0 4px 14px rgba(255, 69, 58, .45); transform: translateX(var(--x)); transition: transform .45s var(--ease-spring); }
.ac-slide.held .ac-knob { transition: none; cursor: grabbing; }
.ac-slide.done .ac-knob { transition: transform .25s ease-out; }
.ac-knob svg { width: 22px; height: 22px; }
/* Delete account: an iOS alert, centred glass, a pink heart, Keep as the clear primary and Delete in system red below it */
.ac-del-dlg { width: min(340px, calc(100vw - 48px)); border-radius: var(--r); text-align: center; }
.ac-del-dlg form { padding: 26px 22px 20px; }
.ac-del-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 12px; border-radius: var(--r); color: #fff;
  background: linear-gradient(160deg, #ff7a6b, #ff375f 60%, #e0245e); box-shadow: 0 8px 22px rgba(255, 55, 95, .35); }
.ac-del-ic svg { width: 26px; height: 26px; }
.ac-del-warn { background: linear-gradient(160deg, #ff6b5e, #ff3b30 60%, #d70015); box-shadow: 0 8px 22px rgba(255, 59, 48, .35); }
.ac-del-dlg h2 { margin: 0 0 6px; font: 700 21px/1.2 var(--font); letter-spacing: -.02em; text-wrap: balance; }
.ac-del-dlg p { margin: 0 auto 12px; max-width: 32ch; font-size: 15px; line-height: 1.45; text-wrap: pretty; }
.ac-del-dlg p.ac-del-alt { margin-bottom: 18px; font-size: 14px; }
.ac-del-acts { display: grid; gap: 8px; }
.ac-del-acts .btn { width: 100%; height: 44px; border-radius: var(--r); font-size: 16px; font-weight: 500; -webkit-font-smoothing: antialiased; }
.ac-del-keep { color: #fff; background: var(--bt-fill); }   /* the site's button, as in every alert */

@media (hover: hover) { .ac-del-keep:hover { background: var(--bt-hover); } }
/* Unlink Google first: Tenner's blue tile, and the button's icon beside its words */
.ac-del-link { background: linear-gradient(160deg, #5ac8fa, #0a84ff 60%, #0060df); box-shadow: 0 8px 22px rgba(10, 132, 255, .35); }
.ac-g-go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.ac-g-go svg { width: 19px; height: 19px; flex: none; }
.ac-g-go svg[hidden] { display: none; }
.ac-g-go:disabled { opacity: .6; }
.ac-link { position: relative; }
.ac-link::before { content: ""; position: absolute; inset: -7px 0; }

/* Your Tenner: four big numbers in a grid, then your favourite genres and where you watch most */
.ac-nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: .5px solid var(--sep); }
.ac-nums > div { display: grid; gap: 2px; padding: 14px 16px; }
.ac-nums > div:nth-child(odd) { border-right: .5px solid var(--sep); }
.ac-nums > div:nth-child(-n+2) { border-bottom: .5px solid var(--sep); }
.ac-nums b { font: 600 28px/1.1 var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ac-nums small { color: var(--label2); font-size: 13px; }
.ac-nums .sk b, .ac-nums .sk small { display: block; height: 26px; width: 50%; border-radius: 6px; background: var(--fill); }
.ac-nums .sk small { height: 12px; width: 70%; }
.ac-stats .set-row { cursor: default; }

/* Profile photo: a round camera on your picture, a row to choose or remove one, and a sheet to move and scale it */
.ac-avw { position: relative; z-index: 1; display: grid; }
.ac-cam { position: absolute; z-index: 2; right: -2px; bottom: -2px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  color: #fff; background: var(--bt-round); box-shadow: 0 0 0 3px rgba(255, 255, 255, .22), 0 6px 16px rgba(0, 0, 0, .3); transition: transform .45s var(--ease-spring), background-color .18s; }
.ac-cam svg { width: 18px; height: 18px; }
.ac-cam:active { transform: scale(.96); }
@media (hover: hover) { .ac-cam:hover { background: var(--bt-round-hover); } }
.ac-photo .ac-btns { align-items: center; }
.ac-pick { height: 36px; padding: 0 14px; }
.ac-pick svg { width: 18px; height: 18px; }
.ac-pick[aria-busy="true"] { opacity: .6; pointer-events: none; }
.ac-crop-dlg { width: min(380px, calc(100vw - 32px)); text-align: center; }
.ac-crop { position: relative; width: min(280px, calc(100vw - 92px)); aspect-ratio: 1; margin: 4px auto 14px; overflow: hidden; border-radius: var(--r);
  background: #000; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.ac-crop.held { cursor: grabbing; }
.ac-crop img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; pointer-events: none; }
/* everything outside the circle is dimmed, the way iPhone shows a crop */
.ac-crop-ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 200px rgba(0, 0, 0, .55), inset 0 0 0 1.5px rgba(255, 255, 255, .85); pointer-events: none; }
.ac-zoom { display: flex; align-items: center; gap: 10px; margin: 0 4px 18px; color: var(--label3); }
.ac-zoom svg { flex: none; width: 18px; height: 18px; }
.ac-zoom input { flex: 1; min-width: 0; accent-color: var(--accent); }
.ac-crop-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ac-crop-acts .btn { width: 100%; height: 46px; font-size: 16px; }
.ac-crop-acts svg { width: 18px; height: 18px; }
@media (max-width: 420px) { .ac-photo .set-l small { display: none; } }
@media (min-width: 720px) { #acOutLede { max-width: min(34em, calc(100% - 360px)); } }
