/* you — profile (Letterboxd), ranking (Beli), Your Year in Art (Spotify Wrapped), settings, privacy, credits, person, demo */

/* ---------- shared bits ---------- */
.yu-ic { display: inline-grid; place-items: center; flex: none; }
.yu-ic svg, .yu-item-ic svg, .yu-twin-img svg, .yu-collage-ph svg, .yu-wl-ic svg, .yu-priv-ic svg, .yu-delete > svg, .yu-src-link svg, .yu-cur svg, .yu-rm svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.yu-end { text-align: center; color: var(--muted); font-weight: 700; font-size: var(--t-sm); padding: 26px 0 8px; }
.yu-hint { margin-left: 4px; margin-right: 4px; }
.yu-group + .yu-hint { margin-top: 10px; }
.yu-lead { margin: 2px 2px 12px; }
.yu-chev { color: var(--muted); font-weight: 800; font-size: var(--t-lg); line-height: 1; flex: none; }
.yu-opt { font-weight: 700; color: var(--muted); opacity: .8; }
.sec.yu-sec { margin: 22px 2px 10px; min-height: 28px; }
.sec.yu-sec h2, .yu .sec h2 { font-size: var(--t-md); font-weight: 800; }
.yu-sec-btn { min-height: 36px; margin: -4px -6px; font-size: var(--t-body); }
.yu-sec-n { color: var(--muted); font-weight: 700; margin-left: 4px; }
.yu-label { font-size: var(--t-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 22px 4px 8px; }
.yu-label:first-of-type { margin-top: 8px; }

/* grouped rows (iOS-style inset group, chubby) */
.yu-group { background: var(--surface); border-radius: var(--r-lg); box-shadow: 0 0 0 2px var(--line), 0 4px 0 var(--line); overflow: hidden; }
.yu-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 9px 14px; text-align: left; position: relative; transition: background 160ms; }
.yu-item + .yu-item::before, .yu-tgl .toggle-row + .toggle-row::before { content: ""; position: absolute; top: 0; left: 62px; right: 0; height: 2px; background: var(--line); }
.yu-tgl .toggle-row + .toggle-row::before, .yu-demo-it + .yu-demo-it::before { left: 16px; }
.yu-item:active { background: var(--sunk); }
.yu-item-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.tone-blue { background: var(--accent-soft); color: var(--accent-ink); }
.tone-warm { background: var(--warm-soft); color: var(--warm-ink); }
.tone-good { background: var(--good-soft); color: var(--good-ink); }
.tone-ochre { background: var(--ochre-soft); color: var(--ochre-ink); }
.tone-sunk { background: var(--sunk); color: var(--ink); }
.tone-red { background: var(--red-soft); color: var(--red-ink); }
.yu-item-t { flex: 1; min-width: 0; font-weight: 800; font-size: var(--t-body); }
.yu-item-n { color: var(--muted); font-weight: 700; font-size: var(--t-body); font-variant-numeric: tabular-nums; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yu-item .row-txt b { font-weight: 800; }
.yu-danger .yu-item-t { color: var(--red-ink); }
.yu-tgl .toggle-row { position: relative; padding: 12px 16px; min-height: 60px; }
.yu-tgl .toggle-row b { font-weight: 800; }

/* ---------- YOU: header ---------- */
.yu-head { display: flex; align-items: center; gap: 12px; padding: 4px 0 2px; }
.yu-head .av { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--line); }
.yu-head-txt { flex: 1; min-width: 0; }
.yu-head-txt h1 { font-size: var(--t-xl); font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yu-head-txt p { color: var(--muted); font-weight: 700; font-size: var(--t-sm); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yu-head .icon-btn { width: 44px; height: 44px; }
.yu-bio { margin: 10px 2px 0; font-weight: 600; }
.yu-counts { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; margin: 10px 2px 0; color: var(--muted); font-weight: 700; font-size: var(--t-sm); }
.yu-counts span + span::before { content: "·"; margin: 0 7px; opacity: .7; }
.yu-counts b { color: var(--ink); font-weight: 900; font-variant-numeric: tabular-nums; }
.yu-social { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.yu-soc { min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 2px var(--line); font-weight: 700; font-size: var(--t-sm); color: var(--muted); transition: transform 160ms var(--spring); }
.yu-soc b { color: var(--ink); font-weight: 900; margin-right: 2px; }
.yu-soc:active { transform: scale(.95); }
.yu-soc { display: inline-flex; align-items: center; gap: 4px; }
.yu-soc-avs { margin-right: 6px; margin-left: -6px; }
.yu-soc-avs .av { box-shadow: 0 0 0 2px var(--surface); }
.yu-first { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.yu-first b { font-weight: 800; }

/* the 4 (Letterboxd favorites) */
.yu-four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.yu-four-it { position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--sunk); box-shadow: 0 4px 12px rgba(40, 30, 20, .14), 0 0 0 1px rgba(0, 0, 0, .04); animation: yuPop 560ms var(--spring) both; animation-delay: calc(var(--i, 0) * 60ms + 40ms); transition: transform 200ms var(--spring); }
.yu-four-it img { width: 100%; height: 100%; object-fit: cover; }
.yu-four-it:active { transform: scale(.95); }
.yu-four-empty { display: grid; place-items: center; background: transparent; box-shadow: inset 0 0 0 2px var(--line); color: var(--muted); border: 2px dashed var(--line); }
.yu-four-empty .yu-ic svg { width: 26px; height: 26px; }
@keyframes yuPop { from { opacity: 0; transform: scale(.82) translateY(8px); } }

/* your eye */
.yu-taste .taste-chips { gap: 8px; }
.yu-taste .taste-chip { padding: 9px 15px; font-size: var(--t-body); font-weight: 800; background: var(--surface); box-shadow: inset 0 0 0 2px var(--line); animation: yuUp 460ms var(--spring-soft) both; }
.yu-taste .taste-chip:nth-child(2) { animation-delay: 60ms; }
.yu-taste .taste-chip:nth-child(3) { animation-delay: 120ms; }
.yu-taste .taste-chip:first-child { background: var(--accent-soft); color: var(--accent-ink); box-shadow: none; }
@keyframes yuUp { from { opacity: 0; transform: translateY(10px); } }

/* which artwork are you */
.yu-twin { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; margin-top: 16px; padding: 10px 14px 10px 10px; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 2px var(--line), 0 4px 0 var(--line); transition: transform 120ms, box-shadow 120ms; }
.yu-twin:active { transform: translateY(3px); box-shadow: 0 0 0 2px var(--line), 0 1px 0 var(--line); }
.yu-twin-img { width: 52px; height: 64px; border-radius: 12px; overflow: hidden; flex: none; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.yu-twin-img img { width: 100%; height: 100%; object-fit: cover; }
.yu-twin .row-txt b { font-weight: 800; white-space: nowrap; }
.yu-twin .row-txt small:first-child { color: var(--accent-ink); font-size: var(--t-xs); font-weight: 800; letter-spacing: .04em; }
.yu-twin-ask .yu-twin-img { width: 52px; height: 52px; border-radius: 14px; }

/* people you met (month3) */
.yu-met-it { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 72px; }
.yu-met-it b { font-size: var(--t-sm); font-weight: 800; }

/* Year in Art card */
.yu-year { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 136px; margin-top: 20px; padding: 18px 16px 18px 20px; overflow: hidden; text-align: left; border-radius: var(--r-xl); background: #2445E0; color: #fff; box-shadow: 0 5px 0 #1A31A6, 0 14px 30px rgba(36, 69, 224, .25); transition: transform 140ms, box-shadow 140ms; }
.yu-year::before { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; background: #F0C454; right: -40px; top: -60px; }
.yu-year::after { content: ""; position: absolute; width: 96px; height: 96px; border-radius: 50%; background: #C9461F; left: -38px; bottom: -52px; }
.yu-year:active { transform: translateY(4px); box-shadow: 0 1px 0 #1A31A6, 0 8px 20px rgba(36, 69, 224, .2); }
.yu-year-txt { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.yu-year-txt small { font-size: var(--t-xs); font-weight: 800; letter-spacing: .14em; opacity: .85; }
.yu-year-txt b { font-size: var(--t-xl); font-weight: 800; line-height: 1.1; }
.yu-year-txt span { font-size: var(--t-sm); font-weight: 700; opacity: .88; }
.yu-year-fan { position: relative; z-index: 1; width: 104px; height: 96px; flex: none; }
.yu-year-fan img { position: absolute; top: 8px; width: 54px; height: 72px; object-fit: cover; border-radius: 9px; border: 3px solid #fff; box-shadow: 0 8px 18px rgba(0, 0, 0, .3); transition: transform 300ms var(--spring); }
.yu-year-fan img:nth-child(1) { left: 0; transform: rotate(-12deg); }
.yu-year-fan img:nth-child(2) { left: 25px; top: 0; z-index: 2; }
.yu-year-fan img:nth-child(3) { right: 0; transform: rotate(12deg); }
.yu-year:hover .yu-year-fan img:nth-child(1) { transform: rotate(-16deg) translateX(-3px); }
.yu-year:hover .yu-year-fan img:nth-child(3) { transform: rotate(16deg) translateX(3px); }

/* discreet demo link at the very end */
.yu-demo-link { display: flex; align-items: center; justify-content: center; gap: 6px; align-self: center; min-height: 44px; margin: 26px auto 4px; padding: 0 16px; border-radius: 999px; color: var(--muted); font-size: var(--t-sm); font-weight: 800; box-shadow: inset 0 0 0 2px var(--line); }
.yu-demo-link small { font-size: var(--t-xs); font-weight: 700; opacity: .8; }
.yu-demo-link small::before { content: "·"; margin-right: 6px; }
.yu-demo-link .yu-ic svg { width: 16px; height: 16px; }

/* ---------- COLLECTION ---------- */
.chips.scroll-x.yu-filter { margin-bottom: 10px; padding-bottom: 6px; }
.yu-filter .chip { min-height: 44px; }
.yu-chip-n { font-size: var(--t-xs); font-weight: 800; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--sunk); color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.chip.on .yu-chip-n { background: rgba(255, 255, 255, .22); color: #fff; }
.yu-anim .yu-tile { animation: yuUp 420ms var(--spring-soft) both; animation-delay: calc(var(--i, 0) * 30ms); }
.yu-wl { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 2px var(--line); }
.yu-wl-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--sunk); color: var(--muted); flex: none; }
.yu-wl .row-txt b { font-weight: 800; white-space: normal; }
.yu-wl .row-txt small + small { color: var(--accent-ink); }

/* ---------- DIARY ---------- */
.yu-month { font-size: var(--t-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 14px 4px 8px; }
.yu-entry { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 12px 12px 8px; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 2px var(--line), 0 4px 0 var(--line); transition: transform 120ms, box-shadow 120ms; animation: yuUp 440ms var(--spring-soft) both; animation-delay: calc(var(--i, 0) * 60ms); }
.yu-entry:active { transform: translateY(3px); box-shadow: 0 0 0 2px var(--line), 0 1px 0 var(--line); }
.yu-date { width: 46px; flex: none; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.yu-date b { font-size: var(--t-2xl); font-weight: 900; font-variant-numeric: tabular-nums; }
.yu-date small { font-size: var(--t-xs); font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }
.yu-entry-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.yu-entry-body b { font-weight: 800; line-height: 1.2; }
.yu-entry-body small { color: var(--muted); font-weight: 700; font-size: var(--t-sm); }
.yu-entry-note { font-size: var(--t-sm); font-weight: 600; color: var(--ink); opacity: .85; margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yu-entry-art { display: flex; flex: none; padding-right: 4px; }
.yu-entry-art img { width: 42px; height: 54px; object-fit: cover; border-radius: 9px; border: 2px solid var(--surface); box-shadow: 0 4px 10px rgba(40, 30, 20, .18); }
.yu-entry-art img + img { margin-left: -18px; }
.yu-entry-art img:nth-child(1) { transform: rotate(-6deg); }
.yu-entry-art img:nth-child(2) { transform: rotate(3deg) translateY(-2px); }
.yu-entry-art img:nth-child(3) { transform: rotate(8deg); }
.yu-start { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 10px 14px; border-radius: var(--r-lg); background: var(--sunk); }
.yu-start-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); flex: none; margin: 0 6px; }
.yu-start .row-txt b { font-weight: 800; }
.yu-quote { margin: 14px 0 0; padding: 12px 14px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 2px var(--line); font-weight: 700; font-size: var(--t-md); }
.yu-private { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: var(--r); background: var(--sunk); }
.yu-private > .yu-ic { width: 36px; height: 36px; border-radius: 11px; background: var(--surface); color: var(--muted); }
.yu-private > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.yu-private b { font-weight: 800; }
.yu-private small { color: var(--muted); font-weight: 700; font-size: var(--t-sm); }

/* ---------- RANKING ---------- */
.yu-why { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin-bottom: 14px; border-radius: var(--r); background: var(--sunk); color: var(--muted); font-weight: 700; font-size: var(--t-sm); line-height: 1.4; }
.yu-why .yu-ic { margin-top: 1px; }
.yu-why .yu-ic svg { width: 18px; height: 18px; }
.yu-rank-hero { display: flex; flex-direction: column; width: 100%; text-align: left; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: 0 0 0 2px var(--line), 0 5px 0 var(--line); transition: transform 140ms; animation: yuUp 520ms var(--spring-soft) both; }
.yu-rank-hero:active { transform: translateY(3px); }
.yu-rank-hero-img { display: grid; place-items: center; min-height: 180px; padding: 20px 18px; background: var(--sunk); }
.yu-rank-hero-img img { max-width: 100%; max-height: 270px; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .2)); }
.yu-rank-hero-body { display: flex; align-items: center; gap: 12px; padding: 12px 14px 14px; }
.yu-rank-hero-body .row-txt b { font-size: var(--t-md); font-weight: 800; white-space: normal; line-height: 1.2; }
.yu-rank-n { width: 30px; flex: none; text-align: center; font-size: var(--t-lg); font-weight: 900; color: var(--muted); font-variant-numeric: tabular-nums; }
.yu-rank-n.is-top { width: 36px; height: 36px; line-height: 36px; border-radius: 50%; background: var(--ochre); color: #3B2A00; box-shadow: 0 3px 0 var(--ochre-lip); }
.yu-rank-h { font-size: var(--t-sm); font-weight: 800; color: var(--muted); margin: 20px 4px 8px; }
.yu-rank-row { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 8px 10px 8px 6px; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 2px var(--line); transition: transform 120ms; animation: yuUp 420ms var(--spring-soft) both; animation-delay: calc(var(--i, 0) * 50ms + 120ms); }
.yu-rank-row:active { transform: scale(.98); }
.yu-rank-row img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex: none; background: var(--sunk); }
.yu-rank-row .row-txt b { font-weight: 800; line-height: 1.25; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- WANT TO SEE ---------- */
.yu-want-it { border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 2px var(--line), 0 4px 0 var(--line); padding: 10px; animation: yuUp 420ms var(--spring-soft) both; animation-delay: calc(var(--i, 0) * 50ms); transition: opacity 240ms, transform 260ms; }
.yu-want-it.yu-gone { opacity: 0; transform: translateX(40px) scale(.96); }
.yu-want-row { display: flex; align-items: stretch; gap: 8px; }
.yu-want-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; text-align: left; }
.yu-want-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 8px; flex: none; }
.yu-want-side .mini { min-height: 34px; padding: 0 12px; display: inline-flex; align-items: center; white-space: nowrap; }
.yu-want-main img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex: none; background: var(--sunk); }
.yu-want-main .row-txt { gap: 3px; align-items: flex-start; }
.yu-want-main .row-txt b { font-weight: 800; line-height: 1.2; white-space: normal; }
.yu-where { font-size: var(--t-xs) !important; }
.yu-rm { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); background: var(--sunk); margin: -2px -2px 0 0; transition: transform 160ms var(--spring); }
.yu-rm:active { transform: scale(.88); }
.yu-rm svg { width: 16px; height: 16px; }
.yu-too { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; margin-top: 10px; padding: 6px 12px 6px 6px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink); font-size: var(--t-sm); font-weight: 700; text-align: left; }
.yu-too b { font-weight: 800; }
.yu-too > span:nth-child(2) { flex: 1; min-width: 0; }
.yu-too .yu-chev { color: var(--accent-ink); font-size: var(--t-md); }
.yu-too .av { box-shadow: 0 0 0 2px var(--accent-soft); }

/* ---------- LISTS ---------- */
.yu-collage { display: grid; gap: 2px; overflow: hidden; background: var(--sunk); grid-template-rows: minmax(0, 1fr); }
.yu-collage.n1 { grid-template-columns: 1fr; } .yu-collage.n2 { grid-template-columns: 1fr 1fr; } .yu-collage.n3 { grid-template-columns: 2fr 1fr 1fr; }
.yu-collage img { width: 100%; height: 100%; object-fit: cover; min-width: 0; }
.yu-collage-ph { display: grid; place-items: center; color: var(--muted); }
.yu-list-card { display: flex; flex-direction: column; width: 100%; text-align: left; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: 0 0 0 2px var(--line), 0 4px 0 var(--line); transition: transform 140ms; animation: yuUp 420ms var(--spring-soft) both; animation-delay: calc(var(--i, 0) * 50ms); }
.yu-list-card:active { transform: translateY(3px); }
.yu-list-card .yu-collage { height: 128px; }
.yu-list-body { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.yu-list-body .row-txt b { font-size: var(--t-md); font-weight: 800; white-space: normal; line-height: 1.2; }
.yu-list-row { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 8px 12px 8px 8px; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 2px var(--line); transition: transform 120ms; }
.yu-list-row:active { transform: scale(.98); }
.yu-list-row .yu-collage { width: 58px; height: 58px; border-radius: 13px; flex: none; }
.yu-list-row .yu-collage.n3 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.yu-list-row .yu-collage.n3 img:first-child { grid-row: span 2; }
.yu-list-row .row-txt b { font-weight: 800; white-space: normal; line-height: 1.2; }
.yu-prog { color: var(--good-ink) !important; }
.yu-nw { white-space: nowrap; }
.yu-list-empty { display: flex; flex-direction: column; gap: 6px; }
.yu-list-empty b { font-size: var(--t-lg); font-weight: 800; }
.yu-list-empty .btn { margin-top: 10px; }

/* list edit / pick grid */
.yu-ledit { padding-bottom: 0 !important; }
.yu-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.yu-pick-it { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--sunk); transition: transform 200ms var(--spring), box-shadow 160ms; }
.yu-pick-it img { width: 100%; height: 100%; object-fit: cover; transition: opacity 160ms; }
.yu-pick-it:active { transform: scale(.94); }
.yu-pick-it[aria-pressed="true"] { box-shadow: inset 0 0 0 4px var(--accent); }
.yu-pick-it[aria-pressed="true"] img { opacity: .78; }
.yu-pick-n { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: var(--t-sm); font-weight: 900; color: #fff; background: rgba(27, 26, 31, .35); box-shadow: inset 0 0 0 2px #fff; }
.yu-pick-it[aria-pressed="true"] .yu-pick-n { background: var(--accent); box-shadow: 0 0 0 2px #fff; }
.yu-pick-bar { position: sticky; bottom: calc(-1 * (var(--bottom) + 18px)); display: flex; align-items: center; gap: 12px; margin: 14px -18px calc(-1 * (var(--bottom) + 18px)); padding: 12px 18px calc(var(--bottom) + 12px); background: var(--bg); box-shadow: 0 -2px 0 var(--line); }
.yu-pick-count { flex: 1; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.yu-sticky { position: sticky; bottom: 0; margin: 16px -16px 0; padding: 14px 16px 16px; background: linear-gradient(transparent, var(--bg) 26%); z-index: 3; }

/* ---------- YOUR YEAR IN ART (stories) ---------- */
.view.yu-yr { padding: var(--top) 0 var(--bottom); background: var(--sl-bg, #2445E0); color: var(--sl-ink, #fff); transition: background-color 460ms ease, color 460ms ease; overflow: hidden; user-select: none; -webkit-user-select: none; }
.yu-bars { display: flex; gap: 5px; padding: 2px 14px 0; flex: none; }
.yu-bars i { flex: 1; height: 4px; border-radius: 4px; background: color-mix(in srgb, var(--sl-ink, #fff) 24%, transparent); overflow: hidden; }
.yu-bars b { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--sl-ink, #fff); transition: width 420ms var(--spring-soft); }
.yu-bars i.on b { width: 100%; }
.yu-yr-top { display: flex; align-items: center; gap: 10px; padding: 6px 6px 0 16px; min-height: 52px; flex: none; }
.yu-yr-who { flex: 1; display: flex; align-items: center; gap: 8px; font-size: var(--t-sm); font-weight: 800; min-width: 0; }
.yu-yr-who .av { box-shadow: 0 0 0 2px color-mix(in srgb, var(--sl-ink, #fff) 55%, transparent); }
.yu-yr-pos { font-size: var(--t-xs); font-weight: 800; opacity: .75; font-variant-numeric: tabular-nums; }
.yu-yr-x { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: inherit; transition: background 160ms; }
.yu-yr-x:active { background: color-mix(in srgb, var(--sl-ink, #fff) 14%, transparent); }
.yu-yr-x svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.yu-yr-stage { position: relative; flex: 1; min-height: 0; }
.yu-yr-slides { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.yu-tap { position: absolute; top: 0; bottom: 0; z-index: 1; cursor: pointer; }
.yu-tap-prev { left: 0; width: 30%; }
.yu-tap-next { right: 0; width: 70%; }
.yu-tap:focus-visible { outline-offset: -8px; }
.yu-sl { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 4px 24px 20px; text-align: center; }
.yu-sl button { pointer-events: auto; }
.yu-sl-kick { font-size: var(--t-sm); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .88; }
.yu-sl-h { font-size: var(--t-4xl); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; }
.yu-sl-t { font-size: var(--t-2xl); font-weight: 800; line-height: 1.1; max-width: 320px; }
.yu-sl-p { font-size: var(--t-md); font-weight: 700; line-height: 1.35; max-width: 300px; opacity: .92; text-wrap: balance; }
.yu-sl-p mark { background: var(--ochre); color: #1B1A1F; padding: 0 6px; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.yu-sl-hint { margin-top: 20px; font-size: var(--t-sm); font-weight: 800; opacity: .8; animation: yuNudge 1.8s ease-in-out 1.2s 2; }
@keyframes yuNudge { 50% { transform: translateX(6px); } }
.yu-sl-fine { font-size: var(--t-xs); font-weight: 700; opacity: .7; margin-top: 4px; }
.yu-sl-big { display: block; font-size: calc(var(--t-4xl) * 2.8); font-weight: 900; line-height: .92; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.yu-sl-unit { font-size: var(--t-xl); font-weight: 800; margin-top: -2px; }
.yu-sl-count .yu-sl-big { color: var(--accent); }
:root[data-theme="dark"] .yu-sl-count .yu-sl-big { color: var(--accent-ink); }
.yu-sl-count .yu-sl-p { margin-top: 10px; }
.yu-sl-people .yu-sl-big { color: var(--warm); }
:root[data-theme="dark"] .yu-sl-people .yu-sl-big { color: var(--warm-ink); }

.yu-sl-fan { position: relative; width: 236px; height: 176px; margin-bottom: 22px; }
.yu-sl-fan img { position: absolute; top: 12px; width: 112px; height: 144px; object-fit: cover; border-radius: 14px; border: 5px solid #fff; box-shadow: 0 14px 30px rgba(0, 0, 0, .3); }
.yu-sl-fan img:nth-child(1) { left: 0; transform: rotate(-11deg); }
.yu-sl-fan img:nth-child(2) { left: 62px; top: 0; z-index: 2; }
.yu-sl-fan img:nth-child(3) { right: 0; transform: rotate(11deg); }
.yu-sl.in .yu-sl-fan img:nth-child(1) { animation: yuFanL 820ms var(--spring) 120ms both; }
.yu-sl.in .yu-sl-fan img:nth-child(3) { animation: yuFanR 820ms var(--spring) 120ms both; }
@keyframes yuFanL { from { transform: rotate(0) translateX(62px); } }
@keyframes yuFanR { from { transform: rotate(0) translateX(-62px); } }
.yu-sl-strip { display: flex; justify-content: center; margin-top: 18px; }
.yu-sl-strip img { width: 54px; height: 54px; object-fit: cover; border-radius: 14px; border: 3px solid var(--bg); box-shadow: 0 6px 14px rgba(0, 0, 0, .18); }
.yu-sl-strip img + img { margin-left: -10px; }
.yu-sl-strip img:nth-child(odd) { transform: rotate(-5deg); }
.yu-sl-strip img:nth-child(even) { transform: rotate(5deg) translateY(-4px); }

/* the #1: whole artwork, never cropped */
.yu-sl-pic { flex: 0 1 auto; min-height: 0; max-height: 58%; width: 100%; display: flex; align-items: center; justify-content: center; margin: 8px 0 10px; }
.yu-sl-pic img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 3px; border: 7px solid #fff; box-shadow: 0 18px 36px rgba(0, 0, 0, .3), 0 2px 6px rgba(0, 0, 0, .14); }
.yu-sl-pic + * { flex: none; }
.yu-sl-caption { display: flex; align-items: center; gap: 14px; width: 100%; max-width: 340px; text-align: left; }
.yu-sl-cap-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.yu-sl-cap-txt b { font-size: var(--t-xl); font-weight: 800; line-height: 1.15; }
.yu-sl-cap-txt small { font-size: var(--t-body); font-weight: 700; opacity: .8; margin-top: 2px; }
.yu-sl-cap-txt.is-long b { font-size: var(--t-lg); }
.yu-sl-score { width: 88px; height: 88px; flex: none; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff; color: #1B1A1F; box-shadow: 0 5px 0 rgba(0, 0, 0, .14); line-height: 1; }
.yu-sl-score b { font-size: var(--t-2xl); font-weight: 900; font-variant-numeric: tabular-nums; }
.yu-sl-score small { font-size: var(--t-xs); font-weight: 800; margin-top: 4px; color: #615C66; }
.yu-sl.in .yu-sl-score { animation: yuStamp 700ms var(--spring) 640ms both; }
@keyframes yuStamp { from { opacity: 0; transform: scale(1.8) rotate(-14deg); } }

.yu-sl-rank { list-style: none; margin: 12px 0 10px; padding: 0; display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 320px; }
.yu-sl-rank li { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 0 18px; border-radius: 22px; background: rgba(255, 255, 255, .14); text-align: left; font-size: var(--t-lg); }
.yu-sl-rank li b { font-weight: 800; }
.yu-sl-rank li:first-child { background: #fff; color: #A8391A; font-size: var(--t-xl); min-height: 78px; box-shadow: 0 6px 0 rgba(0, 0, 0, .16); }
.yu-sl-n { width: 22px; flex: none; font-size: var(--t-xl); font-weight: 900; opacity: .7; font-variant-numeric: tabular-nums; }
.yu-sl-emo { font-size: var(--t-xl); }

.yu-sl-avs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; max-width: 330px; margin: 14px 0 6px; }
.yu-sl-av { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 60px; }
.yu-sl-av .av { box-shadow: 0 0 0 3px color-mix(in srgb, var(--sl-ink, #fff) 85%, transparent); }
.yu-sl-av small { font-size: var(--t-xs); font-weight: 800; white-space: nowrap; }
.yu-sl-people .yu-sl-av .av { box-shadow: 0 0 0 3px var(--surface), 0 6px 14px rgba(40, 30, 20, .18); }
.yu-sl.in .yu-sl-av { animation: yuPop 560ms var(--spring) both; }
.yu-sl.in .yu-sl-av:nth-child(2) { animation-delay: 60ms; } .yu-sl.in .yu-sl-av:nth-child(3) { animation-delay: 120ms; } .yu-sl.in .yu-sl-av:nth-child(4) { animation-delay: 180ms; }
.yu-sl.in .yu-sl-av:nth-child(5) { animation-delay: 240ms; } .yu-sl.in .yu-sl-av:nth-child(6) { animation-delay: 300ms; } .yu-sl.in .yu-sl-av:nth-child(n+7) { animation-delay: 360ms; }

.yu-sl-head { display: flex; align-items: center; gap: 10px; }
.yu-sl-head .yu-sl-t { font-size: var(--t-xl); }
.yu-sl-card { flex: 1 1 auto; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; margin: 2px 0; }
.yu-sl-card img, .yu-sl-skel { height: 100%; max-width: 100%; aspect-ratio: 9 / 16; object-fit: contain; border-radius: 18px; box-shadow: 0 0 0 2px var(--line), 0 18px 40px rgba(40, 30, 20, .22); }
.yu-sl-skel { display: block; background: var(--sunk); animation: yuPulse 1.2s ease-in-out infinite; }
@keyframes yuPulse { 50% { opacity: .55; } }
.yu-sl-act { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 320px; margin-top: 4px; }
.yu-sl-act .btn { min-height: 52px; }

/* slide motion */
.yu-sl.in .yu-in { animation: yuSlIn 620ms var(--spring-soft) both; animation-delay: calc(var(--i, 0) * 85ms + 70ms); }
.yu-sl.in-back .yu-in { animation: yuSlIn 420ms var(--spring-soft) both; animation-delay: calc(var(--i, 0) * 40ms); }
.yu-sl.in .yu-art-in, .yu-sl.in-back .yu-art-in { animation: yuArt 780ms var(--spring) both; animation-delay: 150ms; }
.yu-sl.out { animation: yuSlOut 240ms ease-in both; }
.yu-sl.out-back { animation: yuSlOutBack 240ms ease-in both; }
.yu-sl.in .yu-sl-rank li.yu-in { animation-duration: 700ms; }
@keyframes yuSlIn { from { opacity: 0; transform: translateY(18px) scale(.97); } }
@keyframes yuArt { from { opacity: 0; transform: scale(.86) rotate(-2deg); } }
@keyframes yuSlOut { to { opacity: 0; transform: translateX(-28px); } }
@keyframes yuSlOutBack { to { opacity: 0; transform: translateX(28px); } }

/* ---------- PRIVACY ---------- */
.yu-priv-hero { display: flex; gap: 14px; align-items: center; padding: 6px 2px 16px; }
.yu-priv-hero b { font-size: var(--t-lg); font-weight: 800; }
.yu-priv-hero p { margin-top: 2px; }
.yu-priv-ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; flex: none; background: var(--good-soft); color: var(--good-ink); }
.yu-priv-ic svg { width: 30px; height: 30px; }
.yu-keep h3 { display: flex; align-items: center; gap: 8px; font-size: var(--t-body); font-weight: 800; margin: 0 0 6px; }
.yu-keep h3 + ul + h3 { margin-top: 14px; }
.yu-keep ul { margin: 0 0 4px; padding-left: 22px; display: flex; flex-direction: column; gap: 5px; color: var(--ink); font-weight: 600; }
.yu-keep li::marker { color: var(--muted); }
.yu-keep li b { font-weight: 800; }
.yu-keep .fine { margin-top: 12px; }
.yu-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.yu-dot.good { background: var(--good); } .yu-dot.red { background: var(--red); }
.yu-delete { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 12px 16px; text-align: left; border-radius: var(--r-lg); background: var(--red-soft); color: var(--red-ink); box-shadow: 0 4px 0 color-mix(in srgb, var(--red) 30%, transparent); transition: transform 120ms, box-shadow 120ms; }
.yu-delete:active { transform: translateY(3px); box-shadow: 0 1px 0 color-mix(in srgb, var(--red) 30%, transparent); }
.yu-delete > span { display: flex; flex-direction: column; }
.yu-delete b { font-weight: 800; }
.yu-delete small { font-weight: 700; font-size: var(--t-sm); opacity: .85; }
.yu-del-sheet { display: flex; flex-direction: column; align-items: center; text-align: center; }
.yu-del-sheet h2 { margin-top: 6px; }

/* ---------- CREDITS ---------- */
.yu-stats { gap: 8px; }
.yu-stats .stat-box { padding: 12px 6px; }
.yu-stats .stat-box span { display: block; line-height: 1.25; margin-top: 2px; }
.yu-src { display: flex; flex-direction: column; gap: 4px; }
.yu-src b { font-weight: 800; line-height: 1.25; }
.yu-src .badge { flex: none; }
.yu-src-link { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; min-height: 44px; margin: 2px -2px -8px; padding: 0 2px; color: var(--accent-ink); font-weight: 800; font-size: var(--t-sm); text-decoration: none; }
.yu-src-link svg { width: 16px; height: 16px; }
.yu-credit-ex { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 0 0 2px var(--line); margin-bottom: 10px; }
.yu-credit-ex img { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; flex: none; }
.yu-credit-ex .row-txt b { font-weight: 800; white-space: normal; }

/* ---------- PERSON ---------- */
.yu-person .yu-head { padding-top: 0; }
.yu-person .yu-head > .icon-btn { margin-right: 2px; }
.yu-ex { display: inline-block; padding: 0 7px; border-radius: 999px; background: var(--sunk); font-size: var(--t-xs); font-weight: 800; }
.yu-follow-wrap { margin-top: 14px; }
.yu-follow { width: 100%; }
.yu-follow.is-on { color: var(--good-ink); }
.yu-shared { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; padding: 12px 14px; border-radius: var(--r-lg); background: var(--accent-soft); }
.yu-shared small { font-size: var(--t-xs); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.yu-shared .taste-chip { background: var(--surface); }

/* ---------- DEMO ---------- */
.yu-demo-now { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-lg); background: var(--ochre-soft); margin-bottom: 12px; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--ochre) 50%, transparent); }
.yu-demo-now > .yu-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--ochre); color: #3B2A00; }
.yu-demo-now > span:last-child { display: flex; flex-direction: column; }
.yu-demo-now small { font-size: var(--t-xs); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ochre-ink); }
.yu-demo-now b { font-weight: 800; font-size: var(--t-md); }
.yu-demo-it .row-txt small { white-space: normal; }
.yu-cur { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--good); color: #fff; flex: none; }
.yu-cur svg { width: 16px; height: 16px; stroke-width: 3; }

/* ---------- small phones ---------- */
@media (max-width: 370px) {
  .yu-sl-big { font-size: calc(var(--t-4xl) * 2.4); }
  .yu-sl-h { font-size: var(--t-3xl); }
  .yu-year-fan { width: 88px; }
  .yu-year-fan img { width: 46px; height: 62px; }
  .yu-year-fan img:nth-child(2) { left: 21px; }
  .yu-stats .stat-box b { font-size: var(--t-lg); }
}
@media (max-height: 700px) {
  .yu-sl-fan { transform: scale(.82); margin-bottom: 4px; }
  .yu-sl-big { font-size: calc(var(--t-4xl) * 2.3); }
  .yu-sl-rank li { min-height: 54px; } .yu-sl-rank li:first-child { min-height: 64px; }
}

/* ---------- less motion: no staggered delays, nothing waits to appear ---------- */
.less-motion .yu-four-it, .less-motion .yu-taste .taste-chip, .less-motion .yu-entry, .less-motion .yu-rank-row, .less-motion .yu-rank-hero,
.less-motion .yu-want-it, .less-motion .yu-list-card, .less-motion .yu-anim .yu-tile, .less-motion .yu-sl .yu-in, .less-motion .yu-sl .yu-art-in,
.less-motion .yu-sl-av, .less-motion .yu-sl-score, .less-motion .yu-sl-fan img, .less-motion .yu-sl-hint { animation: none !important; }

/* ---------- your eye (renews every month) ---------- */
.yu-eye { position: relative; overflow: hidden; padding: 16px 16px 14px; border-radius: var(--r-lg); background: var(--accent); color: #fff; box-shadow: 0 5px 0 var(--accent-lip); }
.yu-eye::before { content: ""; position: absolute; right: -34px; top: -34px; width: 96px; height: 96px; border-radius: 50%; background: var(--ochre); }
.yu-eye > * { position: relative; }
.yu-eye-k { font-size: var(--t-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
.yu-eye-tribe { display: block; margin: 2px 56px 0 0; font-size: var(--t-2xl); font-weight: 900; letter-spacing: -.02em; line-height: 1.08; }
.yu-eye-rare { margin-top: 4px; font-weight: 800; opacity: .95; }
.yu-eye-month { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .22); font-weight: 700; font-size: var(--t-sm); }
.yu-eye-found { margin-top: 8px; display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: var(--t-sm); }
.yu-eye-found svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }
.yu-link { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
