/* Almaty NOW v2.1 — refined square motion cards for directory sections only. */
.now-motion-tile{
  position:relative;
  display:block;
  aspect-ratio:1/1;
  overflow:hidden;
  border-radius:22px;
  background:linear-gradient(145deg,#4f3ca8 0%,#2d245f 55%,#1a1f45 100%);
  box-shadow:0 8px 24px rgba(25,33,76,.16);
  color:#fff;
  isolation:isolate;
  min-height:0;
}
.now-motion-tile.now-tile-cinema{background:linear-gradient(145deg,#b54e78,#402762 58%,#191d43)}
.now-motion-tile.now-tile-family{background:linear-gradient(145deg,#3966c3,#4b47c2 55%,#26285b)}
.now-motion-tile.now-tile-nature{background:linear-gradient(145deg,#3f7f89,#2f5780 52%,#243967)}
.now-motion-tile.now-tile-quiet{background:linear-gradient(145deg,#3c8b7e,#31596d 55%,#1d3657)}
.now-tile-photo{position:absolute;inset:-2%;width:104%;height:104%;object-fit:cover;object-position:center;transform:scale(1.08) translate3d(-1%,0,0);filter:saturate(1.03) contrast(1.02)}
.now-playing .now-tile-photo{animation:now-photo-drift 15s ease-in-out infinite alternate}
@keyframes now-photo-drift{from{transform:scale(1.07) translate3d(-1.2%,.8%,0)}to{transform:scale(1.19) translate3d(1.6%,-1.5%,0)}}
.now-tile-graphic{position:absolute;inset:0;display:grid;place-items:center;overflow:hidden}
.now-tile-graphic::before,.now-tile-graphic::after{content:"";position:absolute;width:92%;height:92%;border-radius:50%;border:1px solid #ffffff24;right:-24%;top:-30%;box-shadow:0 0 0 30px #ffffff07,0 0 0 82px #ffffff09}
.now-tile-graphic::after{width:52%;height:52%;right:auto;left:-12%;top:auto;bottom:-18%;box-shadow:0 0 0 28px #ffffff09}
.now-tile-graphic span{font-size:clamp(38px,8vw,80px);filter:drop-shadow(0 10px 18px rgba(0,0,0,.25));opacity:.86}
.now-playing.now-fallback-art .now-tile-graphic{animation:now-art-breathe 13s ease-in-out infinite alternate}
@keyframes now-art-breathe{from{transform:scale(1)}to{transform:scale(1.12) rotate(2deg)}}
.now-tile-shadow{position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,17,42,.48) 0%,rgba(17,19,45,.03) 26%,rgba(10,14,35,.12) 42%,rgba(10,14,35,.83) 83%,rgba(10,14,35,.95) 100%);pointer-events:none}
.now-tile-tag,.now-tile-fav,.now-tile-copy{position:absolute;z-index:3}
.now-tile-tag{top:11px;left:10px;max-width:calc(100% - 58px);border-radius:999px;padding:6px 9px;font-size:10px;line-height:1.15;font-weight:800;background:#ffffffeb;color:#5c38ba;box-shadow:0 3px 13px rgba(0,0,0,.12);white-space:normal}
.now-tile-fav{top:10px;right:10px;width:36px;height:36px;border:1px solid #ffffff77;border-radius:50%;color:#fff;background:#1e27477d;font-size:27px;line-height:30px;font-family:inherit;display:grid;place-items:center;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);padding:0;z-index:6}
.now-tile-fav.on{background:#7f4bcdcc;color:#fff}
.now-tile-copy{left:0;right:0;bottom:0;padding:10px 11px 12px;pointer-events:none}
.now-tile-copy h3{color:#fff!important;font-size:clamp(15px,2.8vw,21px)!important;line-height:1.16;font-weight:850;letter-spacing:-.3px;text-shadow:0 2px 10px rgba(10,11,34,.45);margin:0 0 5px;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.now-tile-copy p{color:#f1f1ffea!important;font-size:clamp(10px,1.7vw,12px);line-height:1.32;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-shadow:0 1px 7px rgba(6,11,32,.55)}
.now-tile-bottom{margin-top:9px;min-height:28px;display:flex;justify-content:space-between;align-items:end;gap:6px}
.now-tile-bottom span:first-child{color:#e4e0f6;opacity:.96;font-size:9px;font-weight:650;line-height:1.2;text-shadow:0 1px 7px rgba(0,0,0,.65)}
.now-tile-arrow{height:30px;min-width:30px;border:1px solid #ffffff96;border-radius:50%;display:grid;place-items:center;font-size:29px;line-height:0;color:#fff;background:#ffffff2d;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.now-tile-hit{position:absolute;inset:0;z-index:4;background:transparent;border:0;border-radius:22px;color:transparent;font-size:0;padding:0;cursor:pointer}
.now-tile-hit:focus-visible{outline:3px solid white;outline-offset:-5px}
.now-motion-tile:active{transform:scale(.988)}
@media(hover:hover){.now-motion-tile:hover{box-shadow:0 12px 28px rgba(36,36,84,.22)}}
@media(max-width:380px){
  .now-motion-tile{border-radius:20px}
  .now-tile-copy{padding:8px 8px 10px}
  .now-tile-copy h3{font-size:14px!important}
  .now-tile-copy p{font-size:9.5px}
  .now-tile-tag{font-size:9px;padding:5px 7px;top:8px;left:8px}
  .now-tile-fav{top:8px;right:8px;width:32px;height:32px;font-size:23px}
  .now-tile-arrow{min-width:26px;height:26px;font-size:24px}
}
@media(prefers-reduced-motion:reduce){.now-tile-photo,.now-tile-graphic{animation:none!important;transform:none!important}.now-motion-tile{transition:none!important}}
