.z-bar-track i { width: 100%; transform: translateX(-100%); transition: transform 1.3s var(--ease) .15s; }
.z-hero-goal.is-in .z-bar-track i, .zc.is-in .z-bar-track i { transform: translateX(calc(var(--p, 0%) - 100%)); }

.zc.z-section { padding-block: clamp(2.25rem, 4vw, 3.25rem); }
.zc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 3rem; }
.zc-goal { width: min(100%, 27rem); }
.zc-goal__line { display: flex; align-items: baseline; gap: .6rem; min-width: 0; font-size: .88rem; font-weight: 800; }
.zc-goal__line > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zc-goal__note { color: var(--muted); font-size: .8rem; font-weight: 700; white-space: nowrap; }
.zc-goal__note:empty { display: none; }
.zc-goal__line b { margin-left: auto; font-family: var(--display); font-weight: 600; font-size: 1rem; white-space: nowrap; }
.zc-goal .z-bar-track { height: 6px; margin-top: .45rem; }

.zc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; margin-top: 1.4rem; }
.zc--goal-only .zc-grid { display: none; }
@media (min-width: 1024px) {
    .zc--duo .zc-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.75rem, 3vw, 3rem); align-items: stretch; }
}

.zc-top { container-type: inline-size; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.zc-top__plate { display: flex; align-items: baseline; gap: .3em; min-width: 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.9rem, 9cqi, 3.6rem); line-height: 1.04; letter-spacing: -.035em; }
.zc-top__plate.is-long { font-size: clamp(1.5rem, 6.5cqi, 2.8rem); }
.zc-top__rank { flex: none; color: var(--blue); font-weight: 700; }
.zc-top__rank sup { font-size: .42em; line-height: 0; vertical-align: .95em; letter-spacing: 0; text-decoration: underline; text-decoration-thickness: .09em; text-underline-offset: .12em; }
.zc-top__name { min-width: 0; overflow: hidden; padding-bottom: .08em; overflow-wrap: anywhere; }
.zc-top__name span { display: inline-block; max-width: 100%; transform: translateY(110%); transition: transform .9s var(--ease) .1s; }
.zc.is-in .zc-top__name span { transform: none; }
.zc-top__base { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; margin-top: .55rem; padding-top: .8rem; }
.zc-top__base::before, .zc-top__base::after { content: ''; position: absolute; top: 0; left: 0; height: 2px; }
.zc-top__base::before { right: 0; background: var(--line-2); }
.zc-top__base::after { width: 4.5rem; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .35s; }
.zc.is-in .zc-top__base::after { transform: none; }
.zc-top__avatar { flex: none; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; background: var(--panel-2); }
.zc-top__avatar img { width: 100%; height: 100%; object-fit: cover; }
.zc-top__meta { flex: 1 1 auto; min-width: 0; color: var(--muted); font-size: .86rem; font-weight: 700; }
.zc-top__meta b { color: var(--text); font-weight: 800; white-space: nowrap; }
.zc-top__take { display: inline-flex; align-items: center; gap: .35rem; color: var(--sky); font-size: .92rem; font-weight: 800; white-space: nowrap; transition: color .2s; }
.zc-top__take svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.zc-top__take:hover { color: #fff; }
.zc-top__take:hover svg { transform: translateX(3px); }
@media (pointer: coarse) { .zc-top__take { position: relative; } .zc-top__take::after { content: ''; position: absolute; inset: -.75rem -.3rem; } }

.zc-feed { container-type: inline-size; min-width: 0; display: flex; flex-direction: column; }
.zc-feed__label { display: flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .8rem; font-weight: 800; }
.zc-feed__label svg { width: 14px; height: 14px; color: var(--cyan); }
.zc-feed__list { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1rem; list-style: none; margin: .7rem 0 0; padding: 0; }
.zc-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: .65rem; min-width: 0; opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms + 150ms); }
.zc.is-in .zc-item { opacity: 1; transform: none; }
.zc-item__thumb { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; overflow: hidden; background: var(--panel-2); border: 1px solid var(--line); }
.zc-item__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.zc-item__thumb.is-type { color: var(--sky); font-family: var(--display); font-weight: 600; font-size: .78rem; }
.zc-item__body { min-width: 0; }
.zc-item__what { overflow: hidden; color: var(--text); font-size: .88rem; font-weight: 800; white-space: nowrap; text-overflow: ellipsis; }
.zc-item__who { display: flex; gap: .4rem; min-width: 0; color: var(--muted); font-size: .78rem; font-weight: 700; }
.zc-item__who > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--sky); }
.zc-item__when { flex: 0 1000 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zc-item__when { display: none; }
.zc-item__when::before { content: '· '; }
@container (min-width: 540px) {
    .zc--duo .zc-feed__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .zc--solo .zc-feed__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .zc-item { grid-template-columns: minmax(0, 1fr); align-items: start; gap: .55rem; }
    .zc-item__thumb { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 12px; }
    .zc-item__thumb img { padding: 6px; }
    .zc-item__when { display: inline; }
    .zc-item__thumb.is-type { font-size: 1.15rem; }
}
@container (min-width: 1000px) {
    .zc--solo .zc-feed__list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
    .z-bar-track i { transition-duration: .6s; }
    .zc-top__name span { transform: none; opacity: 0; transition: opacity .5s ease .1s; }
    .zc-top__base::after { transition-duration: .5s; }
    .zc.is-in .zc-top__name span { opacity: 1; }
    .zc-item { transform: none; transition: opacity .4s ease; transition-delay: calc(var(--i, 0) * 40ms); }
}
@media (max-width: 400px) { .zc-item__what { white-space: normal; overflow-wrap: anywhere; line-height: 1.25; } }
