/* Карусель «тропинка»: токены из tokens.css, движение только transform/opacity. Без JS: список карточек. */
.pc { container-type: inline-size; display: flex; flex-direction: column; gap: 8px; width: 100%; color: var(--c-ink); }
.pc__defs { position: absolute; }
.pc svg { stroke-linecap: round; stroke-linejoin: round; }
.pc__cards { display: grid; gap: 16px; }
.pc--js .pc__cards { gap: 0; padding: 8px 4px 4px; touch-action: pan-y; }
.pc__card { --tone: var(--card-1); --rot: 0deg; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "n ill" "t t" "x x"; gap: 4px 12px; align-items: start; padding: 12px 16px 16px; background: var(--tone); border: 5px solid rgba(255, 255, 255, 0.94); border-radius: 30px; box-shadow: 0 0 0 1px rgba(190, 120, 90, 0.24), 0 16px 26px -18px rgba(120, 60, 40, 0.5); transform: rotate(var(--rot)) }
.pc__card:nth-child(1) { --tone: var(--card-1); --rot: -1.5deg; } .pc__card:nth-child(2) { --tone: var(--card-2); --rot: 1.2deg; } .pc__card:nth-child(3) { --tone: var(--card-3); --rot: -0.8deg; } .pc__card:nth-child(4) { --tone: var(--card-4); --rot: 1.6deg; } .pc__card:nth-child(5) { --tone: var(--card-5); --rot: -1.2deg; } .pc__card:nth-child(6) { --tone: var(--card-6); --rot: 0.8deg; } .pc__card:nth-child(7) { --tone: var(--card-2); --rot: -1.8deg; } .pc__card:nth-child(8) { --tone: var(--card-1); --rot: 1.4deg; }
.pc__n { grid-area: n; font-size: var(--ty-num-s); font-weight: 500; line-height: var(--ty-num-lh); color: var(--c-ink-2); font-variant-numeric: tabular-nums; }
.pc__ill { grid-area: ill; justify-self: end; width: min(50%, 136px); height: auto; }
.pc__t { grid-area: t; margin-top: 4px; font-size: var(--ty-h4); font-weight: 600; line-height: var(--ty-h4-lh); letter-spacing: var(--ty-h3-ls); text-wrap: balance; }
.pc__x { grid-area: x; font-size: var(--ty-small); line-height: var(--ty-small-lh); color: var(--c-ink-2); }
@container (min-width: 440px) {
  .pc__card { grid-template-columns: 172px 1fr; grid-template-areas: "ill n" "ill t" "ill x"; grid-template-rows: auto auto 1fr; gap: 0 16px; align-items: center; padding: 16px 16px 16px 12px; }
  .pc__ill { width: 172px; justify-self: start; align-self: center; grid-row: 1 / 4; }
  .pc__n { align-self: end; }
  .pc__t { align-self: end; margin-top: 8px; }
  .pc__x { align-self: start; margin-top: 4px; }
}
.pc--js .pc__card { grid-area: 1 / 1; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(10px) scale(0.96) rotate(var(--rot)); transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s 0.35s }
.pc--js .pc__card.is-on { opacity: 1; visibility: visible; pointer-events: auto; transform: rotate(var(--rot)); transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s; }
.pc__ill, .pc__path svg { stroke: var(--c-ink-2); stroke-width: 2.2; fill: none; overflow: visible; }
.pc .w { fill: #fff; } .pc .p { fill: var(--c-peach-2); } .pc .m { fill: var(--c-mint); } .pc .y { fill: var(--card-3); } .pc .l { fill: var(--card-5); } .pc .c { fill: var(--c-coral); } .pc .k { fill: var(--c-ink); }
.pc .n, .pc .sp { stroke: none; }
.pc .bg { fill: #fff; fill-opacity: 0.5; stroke: none; }
.pc .tw, .pc .ant, .pc .fl, .pc .bob, .pc .eyes, .pc .fly, .pc .shield, .pc .flag, .pc .msg, .pc .d1, .pc .d2, .pc .d3, .pc .cur, .pc .st { transform-box: fill-box; transform-origin: center; }
.pc .tw, .pc .ant { animation: pc-tw 2.6s ease-in-out infinite; }
.pc .t2 { animation-delay: -1.3s; }
.pc .fl { animation: pc-fl 3s ease-in-out infinite; }
.pc .bob { animation: pc-fl 2.4s ease-in-out infinite; }
.pc .msg { animation: pc-fl 2.8s ease-in-out infinite -1s; }
.pc .eyes, .pc__eyes { transform-box: fill-box; transform-origin: center; animation: pc-blink 4.4s infinite; }
.pc .fly { animation: pc-fly 3.2s ease-in-out infinite; }
.pc .shield { animation: pc-pulse 3.4s ease-in-out infinite; }
.pc .flag { transform-origin: 0 50%; animation: pc-flag 1.6s ease-in-out infinite; }
.pc .cur { animation: pc-cur 1.1s steps(1) infinite; }
.pc .st { animation: pc-st 2.8s ease-in-out infinite; }
.pc .d1, .pc .d2, .pc .d3 { animation: pc-dot 1.2s ease-in-out infinite; }
.pc .d2 { animation-delay: 0.2s; }
.pc .d3 { animation-delay: 0.4s; }
.pc__card:not(.is-on) * { animation-play-state: paused; }
@keyframes pc-tw { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.7); } }
@keyframes pc-fl { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes pc-blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(0.1); } }
@keyframes pc-fly { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(4px, -4px); } }
@keyframes pc-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes pc-flag { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(0.82); } }
@keyframes pc-cur { 50% { opacity: 0; } }
@keyframes pc-st { 0% { opacity: 0; transform: translateY(3px); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateY(-3px); } }
@keyframes pc-dot { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
.pc__path, .pc__nav { display: none; }
.pc--js .pc__path { display: block; position: relative; padding-top: 8px; }
.pc__path svg { width: 100%; height: auto; display: block; }
.pc__line { stroke: var(--c-coral); stroke-opacity: 0.6; stroke-width: 3; stroke-dasharray: 0.5 8; }
.pc__stop { cursor: pointer; }
.pc__stop circle { fill: #fff; stroke-opacity: 0.6; stroke-width: 1.6; transform-box: fill-box; transform-origin: center; transition: transform 0.3s ease, fill 0.3s ease; }
.pc__stop.is-done circle { fill: var(--c-peach); }
.pc__stop.is-on circle { fill: var(--c-peach-2); stroke-opacity: 1; transform: scale(1.15); }
.pc__stop text { fill: var(--c-ink); stroke: none; font: 600 11px var(--f-sans); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.pc__cat { stroke-width: 1.5; pointer-events: none; }
.pc__tail { transform-box: fill-box; transform-origin: 0 100%; animation: pc-wag 1.8s ease-in-out infinite; }
.pc__tail path { fill: none; }
.pc__tail .o { stroke-width: 5.4; }
.pc__tail .i { stroke: var(--c-peach-2); stroke-width: 2.4; }
@keyframes pc-wag { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(12deg); } }
.pc__say { position: absolute; top: 0; left: 12%; margin: 0; padding: 4px 12px; z-index: 1; white-space: nowrap; font-size: var(--ty-small); line-height: var(--ty-small-lh); color: var(--c-ink); background: rgba(255, 255, 255, 0.94); border-radius: 999px; box-shadow: 0 0 0 1px rgba(190, 120, 90, 0.24); opacity: 0; transform: translate(-50%, 4px); transition: opacity 0.25s ease, transform 0.25s ease }
.pc__say.on { opacity: 1; transform: translate(-50%, 0); }
.pc__say::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; margin-left: -4px; background: inherit; transform: rotate(45deg); }
.pc--js .pc__nav { display: flex; align-items: center; justify-content: center; }
.pc__arrow { flex: none; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; cursor: pointer; border: 1px solid rgba(190, 120, 90, 0.3); border-radius: 50%; background: rgba(255, 255, 255, 0.75); transition: transform 0.2s ease, background 0.2s ease }
.pc__arrow:hover { background: #fff; }
.pc__arrow svg { width: 20px; height: 20px; stroke: var(--c-ink); stroke-width: 2.2; fill: none; }
.pc__dot { position: relative; flex: 1 1 0; min-width: 24px; max-width: 34px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.pc__dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: rgba(92, 83, 77, 0.3); transition: transform 0.25s ease, background 0.25s ease; }
.pc__dot[aria-current]::before { background: var(--c-coral); transform: scale(1.45); }
.pc button:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 1px; }
@media (prefers-reduced-motion: reduce) {
  .pc *, .pc *::before { animation: none !important; transition: none !important; }
}
