/* Visitor colour button, welcome-back card and recently-viewed strip. */
.vc { position: fixed; left: 14px; bottom: 14px; z-index: 60; font: 600 12px/1 system-ui, -apple-system, sans-serif; }
.vc-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 10px; border-radius: 999px; border: 1px solid #ffffff30; background: #141416d9; color: #fff; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); cursor: pointer; }
.vc-dot { width: 18px; height: 18px; border-radius: 50%; background: conic-gradient(#ff2587, #fbbf24, #34d399, #22d3ee, #a78bfa, #ff2587); box-shadow: 0 0 0 2px #0008 inset; }
.vc-panel { position: absolute; left: 0; bottom: 48px; width: 252px; padding: 14px; border-radius: 16px; border: 1px solid #ffffff2e; background: #101012f2; color: #fff; box-shadow: 0 24px 50px -20px #000; }
.vc-panel[hidden] { display: none; }
.vc-panel p { margin: 0 0 10px; font-weight: 500; font-size: 12.5px; line-height: 1.4; color: #c9c9cf; }
.vc-swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.vc-sw { display: grid; justify-items: center; gap: 5px; padding: 6px 0; border: 0; background: none; color: #c9c9cf; font: inherit; font-size: 10px; cursor: pointer; }
.vc-sw i { width: 30px; height: 30px; border-radius: 50%; background: var(--sw); box-shadow: 0 0 0 2px #101012, 0 0 0 3px #ffffff30; transition: transform .2s; }
.vc-sw:hover i { transform: scale(1.1); }
.vc-sw.is-on i { box-shadow: 0 0 0 2px #101012, 0 0 0 4px #fff; }
.vc-sw.is-on { color: #fff; }
.vc-btn:focus-visible, .vc-sw:focus-visible { outline: 2px solid var(--accent, #ff2587); outline-offset: 2px; }
@media (max-width: 560px) { .vc-btn-text { display: none; } .vc-btn { padding: 0 11px; } }

.rv-card { position: fixed; right: 14px; bottom: 14px; z-index: 61; width: min(300px, calc(100vw - 28px)); padding: 16px 18px 14px; border-radius: 18px; border: 1px solid #ffffff2e; background: #101012f2; color: #fff; box-shadow: 0 24px 60px -20px #000; transform: translateY(24px); opacity: 0; transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .45s; }
.rv-card.is-in { transform: none; opacity: 1; }
.rv-kicker { margin: 0 0 2px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent, #ff2587); font-weight: 700; }
.rv-lead { margin: 0 0 10px; font-size: 17px; font-weight: 700; }
.rv-card ul, .recent-views ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rv-card a { display: block; padding: 9px 12px; border-radius: 10px; background: #ffffff0f; color: #fff; text-decoration: none !important; font-size: 14px; }
.rv-card a:hover { background: #ffffff1c; }
.rv-x { position: absolute; top: 6px; right: 8px; width: 32px; height: 32px; border: 0; background: none; color: #aaa; font-size: 22px; cursor: pointer; }
@media (max-width: 560px) { .rv-card { bottom: 64px; } }

.recent-views { padding: 22px 0 6px; border-top: 1px solid #ffffff1f; margin-top: 8px; }
.recent-views[hidden] { display: none; }
.recent-views h2 { margin: 0 0 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent, #ff2587); }
.recent-views ul { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.recent-views a { display: block; padding: 11px 14px; border-radius: 12px; border: 1px solid #ffffff22; color: #fff; text-decoration: none !important; font-size: 14px; }
.recent-views a:hover { border-color: var(--accent, #ff2587); }
@media (prefers-reduced-motion: reduce) { .rv-card { transition: none; } }
