/* Art Story – מקרוב: זכוכית המגדלת על הפסיפס */
:where(.page-home) #tile-pop, #tile-pop:where(.page-home) { position: fixed; z-index: 15; margin: 0; transform: translate(-50%,-50%) scale(.2); transform-origin: calc(50% + var(--ox,0px)) calc(50% + var(--oy,0px)); opacity: 0; pointer-events: none; padding: 7px; background: #f4efe6; box-shadow: 0 24px 60px -12px rgba(0,0,0,.8), 0 0 0 1px rgba(201,164,106,.7); transition: transform .38s cubic-bezier(.2,1.3,.4,1), opacity .2s; }
:where(.page-home) #tile-pop.is-on, #tile-pop.is-on:where(.page-home) { opacity: 1; transform: translate(-50%,-50%) scale(1); }
:where(.page-home) #tile-pop canvas, #tile-pop:where(.page-home) canvas { display: block; width: 100%; height: 100%; }
:where(.page-home) .hint, .hint:where(.page-home) { font-size: 11px; letter-spacing: .3em; color: var(--cream-dim); margin-top: 34px; display: grid; justify-items: center; gap: 10px; }
:where(.page-home) .hint i, .hint:where(.page-home) i { display: block; width: 1px; height: 38px; background: linear-gradient(var(--brass), transparent); animation: drip 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1 } 70% { transform: scaleY(1); opacity: 1 } 100% { transform: scaleY(1); opacity: 0 } }
:where(.page-home) .near, .near:where(.page-home) { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
:where(.page-home) .near-stage, .near-stage:where(.page-home) { position: relative; min-width: 0; touch-action: pan-y; cursor: none; border-radius: 3px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
:where(.page-home) .near-stage img, .near-stage:where(.page-home) img { display: block; width: 100%; height: auto; }
:where(.page-home) .near-lens, .near-lens:where(.page-home) { position: absolute; width: clamp(150px, 22vw, 240px); aspect-ratio: 1; border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%) scale(.6); opacity: 0; transition: opacity .25s, transform .3s cubic-bezier(.2,1.2,.4,1); box-shadow: 0 0 0 2px #e2b96f, 0 20px 50px rgba(0,0,0,.6); }
:where(.page-home) .near-stage.on .near-lens, .near-stage.on:where(.page-home) .near-lens { opacity: 1; transform: translate(-50%, -50%) scale(1); }
:where(.page-home) .near-hint, .near-hint:where(.page-home) { margin-top: 18px; font-size: 13px; color: var(--cream-dim); display: flex; gap: 10px; align-items: center; }
:where(.page-home) .near-hint i, .near-hint:where(.page-home) i { width: 28px; height: 1px; background: var(--brass); display: block; }
@media (max-width: 860px) { :where(.page-home) .near, .near:where(.page-home) { grid-template-columns: 1fr; } }
@media (max-width: 860px) { :where(.page-home) .near-stage, .near-stage:where(.page-home) { cursor: default; } }
@media (prefers-reduced-motion: reduce) { :where(.page-home) .hint i, .hint:where(.page-home) i { animation: none; } }
.near img { box-shadow: 0 24px 50px -28px rgba(58,34,22,.5) !important; }
