/* Your reading (2026-10-14): #/you — charts, history and Wrapped. Koma's tokens only (app.css :root): panels on --bg-1 with
   --r-panel corners, the person's --accent, Apple's system colours for genres; no left-edge accent bars (owner's design rule). */
.you .yr-tabs { padding-bottom: 8px; }
.yr-wrap { padding: 4px var(--gut) 40px; max-width: 1240px; }
.yr-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.yr-top .yr-range { flex: none; }
.yr-wrapped-btn { margin-left: auto; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 45%, #ff375f)); color: #fff; }
.yr-wrapped-btn .ic { color: #fff; }

/* the four numbers */
.yr-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.yr-tile { background: var(--bg-1); border-radius: var(--r-panel); padding: 16px 18px 15px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.yr-tile.sk, .yr-panel.sk { min-height: 96px; background: linear-gradient(90deg, #121215 0%, #1c1c20 40%, #121215 80%); background-size: 300% 100%; animation: shimmer 1.4s linear infinite; }
.yr-panel.sk { min-height: 260px; }
.yr-tile .k { color: var(--fg-mute); font-size: .8rem; font-weight: 600; }
.yr-tile .v { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 750; letter-spacing: -.03em; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yr-tile .d { color: var(--fg-mute); font-size: .74rem; font-weight: 600; }
.yr-tile .d.up { color: var(--ok); } .yr-tile .d.down { color: var(--fg-dim); }

/* panels */
.yr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.yr-panel { background: var(--bg-1); border-radius: var(--r-panel); padding: 16px 18px 18px; min-width: 0; }
.yr-panel.yr-wide { grid-column: 1 / -1; }   /* not .wide: app.css uses it for the anime cards */
.yr-panel header { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.yr-panel h3 { display: inline-flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 700; }
.yr-panel h3 .ic { width: 18px; height: 18px; color: var(--accent-ink); }
.yr-panel .sub { color: var(--fg-mute); font-size: .8rem; }
.yr-cap { margin-left: auto; color: var(--fg-dim); font-size: .8rem; font-weight: 600; min-height: 1em; text-align: right; }
.yr-panel footer { display: flex; gap: 6px 18px; flex-wrap: wrap; margin-top: 12px; color: var(--fg-mute); font-size: .8rem; }
.yr-panel footer b { color: var(--fg); font-weight: 650; }
.yr-h4 { margin: 16px 0 8px; font-size: .74rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-mute); }
.yr-note { color: var(--fg-dim); font-size: .84rem; margin-top: 12px; line-height: 1.45; } .yr-note b { color: var(--fg); }
#yr-body { transition: opacity var(--fast); } #yr-body.loading { opacity: .45; pointer-events: none; }
.yr-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 44px 18px; color: var(--fg-mute); }
.yr-empty .ic { width: 34px; height: 34px; color: var(--fg-faint); } .yr-empty b { color: var(--fg); font-size: 1.05rem; } .yr-empty .btn { margin-top: 8px; }
.yr-foot { color: var(--fg-mute); font-size: .8rem; margin-top: 18px; line-height: 1.5; } .yr-foot a { color: var(--accent-ink); }
.yr-lead { color: var(--fg-dim); max-width: 64ch; line-height: 1.5; margin: 4px 0 18px; }

/* bars (Activity) */
.yr-barchart { position: relative; height: 180px; padding-right: 34px; }
.yr-gl { position: absolute; inset: 0 0 22px 0; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.yr-gl span { border-top: 1px solid var(--hair); font-size: .68rem; color: var(--fg-faint); text-align: right; line-height: 0; padding-top: 0; }
.yr-gl span:last-child { border-top-color: rgba(255,255,255,.16); }
.yr-cols { position: absolute; inset: 0 34px 0 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); align-items: end; gap: clamp(2px, .6vw, 6px); }
.yr-col { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; padding: 0; min-width: 0; }
.yr-col i { display: block; height: calc((100% - 22px) * var(--h) / 100); min-height: 0; border-radius: 4px 4px 1px 1px; background: var(--accent); transition: height .6s var(--ease), filter var(--fast); }
.yr-col.z i { height: 2px; background: var(--bg-3); }
.yr-col:hover i, .yr-col.sel i { filter: brightness(1.35); }
.yr-col .l { height: 22px; display: flex; align-items: flex-end; justify-content: center; font-size: .66rem; color: var(--fg-mute); white-space: nowrap; overflow: visible; }

/* reading days */
.yr-heat { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto auto; gap: 4px 6px; }
.yr-heat .m { grid-column: 2; display: grid; grid-template-columns: repeat(var(--w), minmax(0, 1fr)); font-size: .66rem; color: var(--fg-mute); }
.yr-heat .m span { white-space: nowrap; }
.yr-heat .wd { grid-row: 2; display: grid; grid-template-rows: repeat(7, 1fr); font-size: .62rem; color: var(--fg-faint); gap: 3px; }
.yr-heat .cells { grid-row: 2; grid-column: 2; display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, 1fr); grid-template-columns: repeat(var(--w), minmax(0, 1fr)); gap: 3px; }
.yr-heat .cells i, .yr-cal .cells i, .yr-heat .leg i { display: block; aspect-ratio: 1; border-radius: 3px; background: var(--bg-2); }
.yr-heat .cells i.o, .yr-cal .cells i.o { background: transparent; }
.yl1 { background: color-mix(in srgb, var(--accent) 30%, var(--bg-2)) !important; } .yl2 { background: color-mix(in srgb, var(--accent) 55%, var(--bg-2)) !important; }
.yl3 { background: color-mix(in srgb, var(--accent) 80%, var(--bg-2)) !important; } .yl4 { background: var(--accent-ink) !important; }
.yr-heat .cells i.sel, .yr-cal .cells i.sel { outline: 2px solid #fff; outline-offset: 1px; }
.yr-heat .leg { grid-column: 2; display: flex; align-items: center; justify-content: flex-end; gap: 3px; font-size: .66rem; color: var(--fg-mute); margin-top: 4px; }
.yr-heat .leg i { width: 11px; } .yr-heat .leg span { margin: 0 4px; }
.yr-streak { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.yr-streak div { background: var(--bg-2); border-radius: var(--r-card); padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.yr-streak b { font-size: 1.5rem; font-weight: 750; letter-spacing: -.02em; } .yr-streak span { color: var(--fg-mute); font-size: .74rem; line-height: 1.3; }
.yr-cal { display: grid; gap: 6px; max-width: 340px; width: 100%; margin: 18px auto 6px; }
.yr-cal .wd, .yr-cal .cells { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.yr-cal .wd span { text-align: center; font-size: .72rem; font-weight: 700; opacity: .7; }
.yr-cal .cells i { border-radius: 7px; background: rgba(255,255,255,.1); }

/* when */
.yr-when { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 16px; align-items: center; margin-bottom: 8px; }
.yr-clock { width: 100%; height: auto; display: block; }
.yr-clock path { fill: var(--bg-2); } .yr-clock path.on { fill: var(--accent); fill-opacity: var(--o); }
.yr-clock .face { fill: var(--bg-1); stroke: var(--hair); }
.yr-clock text { fill: var(--fg-mute); font-size: 9px; font-weight: 600; font-family: var(--font); }
.yr-when-t { display: flex; flex-direction: column; gap: 2px; } .yr-when-t .k { color: var(--fg-mute); font-size: .76rem; margin-top: 8px; } .yr-when-t .k:first-child { margin-top: 0; }
.yr-when-t b { font-size: 1.6rem; font-weight: 750; letter-spacing: -.02em; }
.yr-hbars { display: flex; flex-direction: column; gap: 7px; }
.yr-hbars .r { display: grid; grid-template-columns: minmax(64px, 30%) minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: .8rem; }
.yr-hbars .k { color: var(--fg-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yr-hbars .b { height: 10px; border-radius: 6px; background: var(--bg-2); overflow: hidden; }
.yr-hbars .b i { display: block; height: 100%; width: var(--w); border-radius: 6px; background: var(--c, var(--accent)); transition: width .7s var(--ease); }
.yr-hbars .v { color: var(--fg-mute); font-variant-numeric: tabular-nums; min-width: 3.2em; text-align: right; }

/* genres, kinds, themes */
.yr-genres { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 18px; align-items: center; }
.yr-donut { position: relative; }
.yr-donut svg { width: 100%; height: auto; display: block; transform: rotate(-90deg); }
.yr-donut circle { fill: none; stroke-width: 15; } .yr-donut .track { stroke: var(--bg-2); }
.yr-donut .c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 34px; }
.yr-donut .c b { font-size: 1.05rem; font-weight: 750; line-height: 1.15; } .yr-donut .c span { color: var(--fg-mute); font-size: .8rem; }
.yr-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; font-size: .84rem; }
.yr-legend li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 9px; align-items: center; }
.yr-legend li i { width: 10px; height: 10px; border-radius: 50%; } .yr-legend li span { color: var(--fg-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yr-legend li b { font-weight: 650; font-variant-numeric: tabular-nums; }
.yr-legend.row { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; } .yr-legend.row li { display: inline-grid; grid-template-columns: 10px auto auto; }
.yr-stack { display: flex; height: 16px; border-radius: 9px; overflow: hidden; background: var(--bg-2); gap: 2px; }
.yr-stack i { width: var(--w); min-width: 4px; }
.yr-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.yr-tags .tag { font-size: calc(.72rem * var(--s, 1)); }

/* top series */
.yr-top-series { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 22px; }
.yr-top-series a { display: grid; grid-template-columns: 22px 46px minmax(0, 1fr); gap: 12px; align-items: center; padding: 6px 0; }
.yr-top-series .n { color: var(--fg-faint); font-weight: 800; font-size: 1.05rem; text-align: center; font-variant-numeric: tabular-nums; }
.yr-top-series .cv { display: block; width: 46px; aspect-ratio: 2/3; border-radius: 8px; overflow: hidden; background: var(--bg-2); }
.yr-top-series .cv img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yr-top-series .t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.yr-top-series .t b { font-size: .92rem; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yr-top-series .t > span { color: var(--fg-mute); font-size: .78rem; }
.yr-top-series .bar { height: 4px; border-radius: 3px; background: var(--bg-2); overflow: hidden; margin-top: 3px; }
.yr-top-series .bar i { display: block; height: 100%; width: var(--w); background: var(--c, var(--accent)); border-radius: 3px; }
body.blur18 .yr-top-series a.nsfw .cv img, body.blur18 .yr-hrow.nsfw .thumb, body.blur18 .yr-s .nsfw img, body.blur18 .yr-s img.nsfw { filter: blur(14px); }

/* numbers lists */
.yr-big { display: flex; align-items: baseline; gap: 10px; margin: 2px 0 6px; } .yr-big b { font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; } .yr-big span { color: var(--fg-mute); }
.yr-sparkw { margin: 6px 0 4px; } .yr-sparkw span { color: var(--fg-faint); font-size: .7rem; }
.yr-spark { width: 100%; height: 54px; display: block; overflow: visible; }
.yr-spark polyline { fill: none; stroke: var(--accent-ink); stroke-width: 2.4; vector-effect: non-scaling-stroke; stroke-linejoin: round; } .yr-spark circle { fill: var(--accent-ink); }
.yr-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 8px 0 0; }
.yr-dl div { background: var(--bg-2); border-radius: var(--r-card); padding: 10px 12px; min-width: 0; }
.yr-dl dt { color: var(--fg-mute); font-size: .74rem; } .yr-dl dd { margin: 2px 0 0; font-weight: 700; font-size: .98rem; }
.yr-dl.big { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); } .yr-dl.big dd { font-size: 1.4rem; font-weight: 750; letter-spacing: -.02em; }
.yr-scores { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); align-items: end; gap: 4px; height: 70px; }
.yr-scores i { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.yr-scores i::before { content: ""; display: block; height: calc((100% - 16px) * var(--h) / 100); min-height: 2px; border-radius: 3px; background: var(--accent); }
.yr-scores span { height: 16px; text-align: center; font-size: .66rem; color: var(--fg-mute); font-style: normal; }
.yr-covers { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; } .yr-covers::-webkit-scrollbar { display: none; }
.yr-covers img { width: 58px; aspect-ratio: 2/3; object-fit: cover; border-radius: 8px; display: block; }
.yr-persona .ttl { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 8px; }
.yr-persona p { color: var(--fg-dim); line-height: 1.5; margin: 0 0 12px; font-size: .9rem; } .yr-persona .btn { margin-top: 14px; }

/* history */
.yr-hbar { margin-bottom: 8px; } .yr-hq { max-width: 520px; height: 46px; }
.yr-hday { margin-bottom: 14px; }
.yr-hday .feed-day { display: flex; justify-content: space-between; padding: 10px 4px 8px; } .yr-hday .feed-day span { letter-spacing: 0; text-transform: none; font-weight: 600; }
.yr-hday .feed { margin: 0; }
.yr-hrow { grid-template-columns: 52px minmax(0, 1fr) auto auto; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.yr-hrow.gone { opacity: 0; transform: translateX(16px); }
.yr-hmain { min-width: 0; display: block; }
.yr-hmain .ch { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yr-hmain .meta { color: var(--fg-mute); font-size: .78rem; margin-top: 3px; display: flex; align-items: center; gap: 5px; }
.yr-hmain .okc { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); } .yr-hmain .okc .ic { width: 14px; height: 14px; }
.yr-hrow .dev .ic { width: 15px; height: 15px; color: var(--fg-faint); }
.yr-hx { width: 34px; height: 34px; color: var(--fg-faint); } .yr-hx:hover { color: var(--fg); }
.yr-morew { display: flex; justify-content: center; margin-top: 8px; }

/* Wrapped: the period cards */
.yr-wraps { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.yr-wcard { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 230px; padding: 18px; border-radius: 22px; overflow: hidden; text-align: left; isolation: isolate;
  background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--c, var(--accent)) 70%, transparent), transparent 60%), linear-gradient(160deg, color-mix(in srgb, var(--accent) 55%, #0b0b10), #0b0b10 75%);
  transition: transform var(--fast); }
.yr-wcard:hover { transform: translateY(-2px); }
.yr-wcard.year { background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--c, #ff375f) 70%, transparent), transparent 60%), linear-gradient(200deg, color-mix(in srgb, var(--accent) 65%, #ff375f), #0b0b10 80%); }
.yr-wcard .art { position: absolute; right: 14px; top: 16px; height: 120px; width: 150px; z-index: -1; }
.yr-wcard .art img { position: absolute; right: calc(var(--i) * 36px); top: calc(var(--i) * 10px); width: 76px; aspect-ratio: 2/3; object-fit: cover; border-radius: 9px;
  box-shadow: 0 12px 28px rgba(0,0,0,.5); transform: rotate(calc((var(--i) - 1) * -6deg)); }
.yr-wcard .t { display: flex; flex-direction: column; gap: 4px; } .yr-wcard .k { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.yr-wcard .k .ic { width: 14px; height: 14px; }
.yr-wcard b { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; } .yr-wcard .t > span:last-child { color: rgba(255,255,255,.75); font-size: .86rem; }
.yr-wcard .go { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; }

/* Wrapped: the story (full screen) */
.yr-story { position: fixed; inset: 0; z-index: 80; background: #000; color: #fff; opacity: 0; transition: opacity .26s var(--ease); touch-action: none; user-select: none; -webkit-user-select: none; }
.yr-story.in { opacity: 1; } .yr-story.out { opacity: 0; }
.yr-sbars { position: absolute; z-index: 3; left: 12px; right: 12px; top: calc(10px + var(--top)); display: flex; gap: 4px; }
.yr-sbars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.28); overflow: hidden; } .yr-sbars b { display: block; height: 100%; width: 0; background: #fff; }
.yr-sx { position: absolute; z-index: 4; right: 10px; top: calc(20px + var(--top)); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.25); }
.yr-snav { position: absolute; z-index: 1; top: 0; bottom: 0; width: 33%; opacity: 0; } .yr-snav.prev { left: 0; } .yr-snav.next { right: 0; width: 67%; }
.yr-slides { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.yr-s { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: calc(64px + var(--top)) 28px calc(36px + var(--bot)); overflow: hidden; isolation: isolate;
  opacity: 0; transform: scale(1.03); transition: opacity .45s var(--ease), transform .6s var(--ease); background: #0b0b10; }
.yr-s.on { opacity: 1; transform: none; pointer-events: auto; } .yr-s.was { transform: scale(.98); }
.yr-s.ys-g1 { background: radial-gradient(90% 60% at 80% 10%, color-mix(in srgb, var(--accent) 85%, transparent), transparent 70%), linear-gradient(170deg, #12101f, #050507); }
.yr-s.ys-g2 { background: radial-gradient(80% 60% at 10% 90%, #30d15899, transparent 70%), linear-gradient(160deg, color-mix(in srgb, var(--accent) 50%, #0b2a1c), #050507 80%); }
.yr-s.ys-g3 { background: radial-gradient(90% 60% at 90% 90%, #ff9f0aaa, transparent 65%), linear-gradient(200deg, #2a1608, #050507 75%); }
.yr-s.ys-g4 { background: radial-gradient(90% 70% at 15% 10%, #ff375faa, transparent 65%), linear-gradient(170deg, #2a0b16, #050507 80%); }
.yr-s.ys-g5 { background: radial-gradient(100% 70% at 50% 0%, #0a84ffaa, transparent 65%), linear-gradient(180deg, #071226, #050507 80%); }
.yr-s.ys-g6 { background: radial-gradient(90% 70% at 85% 20%, #bf5af2aa, transparent 65%), linear-gradient(170deg, #1d0b2a, #050507 80%); }
.yr-s.ys-g7 { background: radial-gradient(90% 70% at 20% 80%, #ffd60a88, transparent 65%), linear-gradient(200deg, #2a2408, #050507 80%); }
.yr-s.ys-g8 { background: radial-gradient(90% 70% at 80% 15%, #64d2ffaa, transparent 65%), linear-gradient(170deg, #08202a, #050507 80%); }
.yr-sbg { position: absolute; inset: -40px; z-index: -1; background: var(--cv) center/cover, #0b0b10; filter: blur(34px) saturate(1.25); opacity: .85; transform: scale(1.15); }
.yr-s.ys-intro .yr-sbg, .yr-s.ys-persona .yr-sbg, .yr-s.ys-summary .yr-sbg { opacity: .6; }
.yr-sbg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.7)); }
.yr-sc { position: relative; width: min(520px, 100%); display: flex; flex-direction: column; gap: 10px; text-align: left; }
.yr-s .kick { display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.yr-s .kick .ic { width: 16px; height: 16px; }
.yr-s h2 { font-size: clamp(3rem, 15vw, 5.6rem); font-weight: 800; letter-spacing: -.05em; line-height: .95; margin: 6px 0; }
.yr-s h3 { font-size: clamp(1.6rem, 7vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.yr-s .pre { font-size: 1.25rem; font-weight: 650; color: rgba(255,255,255,.9); margin: 0; }
.yr-s .huge { font-size: clamp(3.4rem, 17vw, 6.4rem); font-weight: 850; letter-spacing: -.055em; line-height: .95; display: block; }
.yr-s .huge.word { font-size: clamp(2.6rem, 12vw, 4.6rem); letter-spacing: -.04em; line-height: 1; }
.yr-s .huge small { font-size: .32em; font-weight: 700; letter-spacing: -.01em; color: rgba(255,255,255,.8); }
.yr-s .post { font-size: 1.05rem; line-height: 1.45; color: rgba(255,255,255,.86); margin: 6px 0 0; } .yr-s .post b { color: #fff; }
.yr-s .cmp { font-size: .9rem; font-weight: 700; color: rgba(255,255,255,.75); margin: 0; }
.yr-s .jp { position: absolute; right: 18px; bottom: calc(40px + var(--bot)); writing-mode: vertical-rl; font-family: var(--jp); font-size: 1.9rem; font-weight: 700; letter-spacing: .2em; color: rgba(255,255,255,.14); }
.yr-collage { position: absolute; left: 50%; top: 20%; width: 300px; height: 220px; transform: translateX(-50%); }
.yr-collage img { position: absolute; width: 104px; aspect-ratio: 2/3; object-fit: cover; border-radius: 12px; box-shadow: 0 20px 44px rgba(0,0,0,.55);
  left: calc(var(--i) * 38px); top: 0; transform: rotate(calc((var(--i) - 2.5) * 5deg)); opacity: 0; animation: yrIn .7s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms + .1s); }
.yr-collage img:nth-child(even) { top: 26px; }
.yr-s.ys-intro .yr-sc { margin-top: 42vh; }
.yr-bigcover { width: min(230px, 56vw); aspect-ratio: 2/3; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.6); margin: 8px 0 10px; }
.yr-bigcover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yr-slist { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.yr-slist li { display: grid; grid-template-columns: 30px 54px minmax(0, 1fr); gap: 14px; align-items: center; opacity: 0; transform: translateY(10px); }
.yr-s.on .yr-slist li { animation: yrUp .5s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 110ms + .15s); }
.yr-slist .n { font-size: 1.6rem; font-weight: 850; text-align: center; color: rgba(255,255,255,.75); }
.yr-slist img { width: 54px; aspect-ratio: 2/3; object-fit: cover; border-radius: 8px; display: block; }
.yr-slist .t { display: flex; flex-direction: column; min-width: 0; } .yr-slist .t b { font-size: 1.05rem; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .yr-slist .t span { color: rgba(255,255,255,.7); font-size: .88rem; }
.yr-slist.sm li { grid-template-columns: 22px 34px minmax(0, 1fr); gap: 10px; opacity: 1; transform: none; animation: none !important; } .yr-slist.sm .n { font-size: 1rem; } .yr-slist.sm img { width: 34px; border-radius: 6px; } .yr-slist.sm .t b { font-size: .92rem; }
.yr-s .yr-hbars .k { color: rgba(255,255,255,.85); } .yr-s .yr-hbars .b { background: rgba(255,255,255,.12); height: 12px; } .yr-s .yr-hbars .v { color: rgba(255,255,255,.8); }
.yr-s .yr-hbars .b i { width: 0; } .yr-s.on .yr-hbars .b i { width: var(--w); transition-delay: .2s; }
.yr-s .yr-clock { width: min(260px, 70vw); margin: 6px 0; } .yr-s .yr-clock .face { fill: rgba(0,0,0,.35); stroke: rgba(255,255,255,.12); } .yr-s .yr-clock path { fill: rgba(255,255,255,.1); } .yr-s .yr-clock path.on { fill: #fff; }
.yr-s .yr-clock text { fill: rgba(255,255,255,.65); }
.yr-s .yr-barchart { height: 150px; margin: 10px 0; } .yr-s .yr-gl span { color: rgba(255,255,255,.45); border-top-color: rgba(255,255,255,.1); } .yr-s .yr-col i { background: #fff; } .yr-s .yr-col.z i { background: rgba(255,255,255,.15); } .yr-s .yr-col .l { color: rgba(255,255,255,.6); }
.yr-s .yl1 { background: rgba(255,255,255,.3) !important; } .yr-s .yl2 { background: rgba(255,255,255,.5) !important; } .yr-s .yl3 { background: rgba(255,255,255,.75) !important; } .yr-s .yl4 { background: #fff !important; }
.yr-fact { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); } .yr-fact:last-child { border-bottom: 0; }
.yr-fact span { color: rgba(255,255,255,.7); font-size: .9rem; font-weight: 600; } .yr-fact b { font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 850; letter-spacing: -.04em; line-height: 1.05; } .yr-fact em { font-style: normal; color: rgba(255,255,255,.85); font-size: 1.05rem; }
.yr-scovers { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 4px; }
.yr-scovers img { width: 78px; aspect-ratio: 2/3; object-fit: cover; border-radius: 10px; box-shadow: 0 14px 32px rgba(0,0,0,.45); opacity: 0; }
.yr-s.on .yr-scovers img { animation: yrIn .55s var(--ease) forwards; animation-delay: calc(var(--i) * 80ms + .15s); }
.yr-s .yr-tags .tag { background: rgba(255,255,255,.16); color: #fff; font-size: .78rem; }
.yr-sum { background: rgba(0,0,0,.42); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.yr-sumg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.yr-sumg div { background: rgba(255,255,255,.08); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; min-width: 0; }
.yr-sumg span { color: rgba(255,255,255,.65); font-size: .74rem; } .yr-sumg b { font-size: 1.25rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yr-sum .pp { margin: 0; font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; }
.yr-sumb { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; } .yr-sumb .btn { flex: 1; justify-content: center; }
.yr-story.paused .yr-sbars { opacity: .5; }
@keyframes yrIn { from { opacity: 0; transform: translateY(18px) rotate(var(--r, 0deg)) scale(.96); } to { opacity: 1; } }
@keyframes yrUp { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .yr-s, .yr-s.on, .yr-col i, .yr-hbars .b i { transition: none !important; } .yr-collage img, .yr-slist li, .yr-scovers img { animation: none !important; opacity: 1 !important; transform: none !important; } }

/* phones */
@media (max-width: 760px) {
  .yr-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .yr-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .yr-top-series { grid-template-columns: minmax(0, 1fr); }
  .yr-top .yr-range { flex: 1 1 100%; display: flex; } .yr-top .yr-range button { flex: 1; }
  .yr-wrapped-btn { flex: 1 1 100%; justify-content: center; margin-left: 0; }
  .yr-barchart { height: 160px; }
  .yr-when { grid-template-columns: minmax(0, 170px) minmax(0, 1fr); gap: 12px; }
  .yr-genres { grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 14px; }
  .yr-hrow { grid-template-columns: 48px minmax(0, 1fr) auto auto; gap: 10px; padding: 10px 12px; }
  .yr-hrow .dev { display: none; }
  .yr-wcard { min-height: 200px; }
  .yr-collage { top: 16%; transform: translateX(-50%) scale(.86); }
}
/* Home's "Your Wrapped is ready" */
#wrapnudge:empty { display: none; }
#wrapnudge { padding: 18px var(--gut) 0; }
.yr-nudge { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 20px; overflow: hidden; isolation: isolate; min-height: 104px;
  background: radial-gradient(110% 120% at 100% 0%, color-mix(in srgb, var(--c, #ff375f) 65%, transparent), transparent 60%), linear-gradient(120deg, color-mix(in srgb, var(--accent) 60%, #0b0b10), #0b0b10 85%); }
.yr-nudge .art { position: relative; width: 92px; height: 74px; flex: none; }
.yr-nudge .art img { position: absolute; left: calc(var(--i) * 20px); top: calc(var(--i) * 4px); width: 46px; aspect-ratio: 2/3; object-fit: cover; border-radius: 7px; box-shadow: 0 8px 20px rgba(0,0,0,.5); transform: rotate(calc((var(--i) - 1) * 6deg)); }
.yr-nudge .t { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.yr-nudge .k { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.8); } .yr-nudge .k .ic { width: 14px; height: 14px; }
.yr-nudge b { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; } .yr-nudge .t > span:last-child { color: rgba(255,255,255,.75); font-size: .84rem; }
.yr-nudge .iconbtn { color: rgba(255,255,255,.7); align-self: flex-start; }
