/* Карточки игр: рамка «ледяной скол» и аврора-подложка (20.10) */
:root{
  --fm1:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 460 215' preserveAspectRatio='none'%3E%3Cpath d='M0.0,19.6 L8.4,13.2 L16.4,12.0 L24.5,6.5 L30.0,6.3 L39.9,7.5 L50.8,5.7 L59.5,4.1 L65.2,16.8 L75.3,5.7 L75.3,4.1 L84.1,6.7 L90.8,5.7 L100.1,7.1 L105.5,7.5 L113.1,18.2 L120.9,10.4 L120.9,5.3 L128.3,3.1 L134.9,1.1 L144.5,2.7 L149.9,1.1 L157.5,0.8 L166.4,3.2 L173.0,1.7 L183.3,0.8 L192.2,2.2 L198.7,0.8 L204.2,0.8 L212.8,1.2 L220.7,3.3 L226.6,4.6 L232.7,6.5 L243.4,4.1 L249.1,2.9 L258.3,1.2 L264.5,12.0 L274.6,3.0 L274.6,3.4 L280.4,14.5 L285.8,3.9 L285.8,3.7 L293.0,6.2 L303.4,4.4 L310.2,20.6 L320.9,4.4 L320.9,4.3 L329.7,2.1 L340.7,3.3 L351.1,2.5 L361.6,2.1 L371.9,2.7 L380.3,0.8 L389.0,2.0 L399.2,1.7 L403.3,16.7 L412.0,3.1 L412.0,2.7 L418.3,1.4 L428.9,1.0 L437.9,4.4 L448.4,9.2 L458.7,17.2 L441.2,0.0 L450.3,10.3 L451.5,17.2 L457.1,27.2 L459.2,37.9 L458.5,45.6 L456.0,53.1 L446.8,60.6 L453.9,65.8 L457.0,65.8 L446.9,71.7 L454.5,76.8 L458.9,76.8 L458.2,83.2 L457.3,90.9 L459.2,101.7 L459.2,107.7 L458.6,113.8 L456.5,121.9 L458.4,131.7 L459.1,141.0 L456.7,151.5 L455.6,161.2 L457.1,167.5 L456.9,176.8 L453.4,187.6 L453.6,194.6 L448.8,201.7 L445.0,210.0 L460.0,195.1 L454.0,203.1 L448.1,204.1 L438.8,208.6 L428.1,213.7 L422.6,212.7 L415.8,210.9 L407.7,209.1 L400.4,207.5 L390.3,207.5 L384.1,207.5 L378.9,207.5 L369.1,207.5 L363.7,208.7 L353.2,207.5 L345.6,209.1 L338.7,207.7 L332.9,207.5 L326.6,209.6 L317.8,210.9 L309.8,211.5 L302.2,213.0 L296.2,211.2 L288.0,210.0 L281.6,210.9 L274.7,208.9 L263.7,210.2 L254.4,208.6 L246.8,211.2 L237.7,208.7 L227.3,208.7 L217.7,210.8 L212.3,210.4 L204.2,208.6 L198.0,210.9 L192.4,211.8 L182.8,211.3 L175.2,212.9 L165.2,214.2 L157.7,212.2 L152.7,211.5 L142.5,209.0 L134.5,207.7 L124.0,207.5 L116.6,207.5 L107.0,208.3 L100.4,196.5 L91.7,207.6 L91.7,207.5 L81.0,207.5 L72.6,207.5 L63.7,207.5 L58.6,209.8 L51.2,211.1 L45.6,208.7 L37.5,207.5 L28.7,206.9 L20.1,205.7 L9.5,199.9 L3.5,195.4 L15.4,215.0 L10.8,206.4 L4.9,197.5 L1.8,188.2 L0.8,181.7 L0.8,172.2 L2.9,162.7 L1.6,157.3 L1.4,146.4 L0.8,137.1 L0.8,128.5 L1.7,122.2 L1.3,114.6 L3.6,106.1 L5.7,95.1 L4.5,89.4 L5.2,82.3 L7.5,73.7 L5.2,67.2 L3.1,62.0 L12.8,55.3 L5.0,47.0 L3.0,47.0 L4.8,39.7 L6.9,30.3 L6.8,24.5 L12.1,14.9 L16.1,8.4Z' fill='black'/%3E%3C/svg%3E");
  --fm2:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 460 215' preserveAspectRatio='none'%3E%3Cpath d='M0.0,17.5 L10.7,13.8 L19.2,7.7 L25.0,5.0 L31.4,5.0 L36.9,5.9 L44.9,7.4 L50.3,7.5 L59.0,7.5 L66.2,7.4 L71.7,7.5 L79.4,7.5 L86.4,5.1 L92.0,4.2 L101.9,5.7 L108.7,7.1 L114.4,7.4 L120.8,5.6 L124.9,18.0 L134.7,7.7 L134.7,7.2 L145.6,7.5 L156.5,5.9 L163.8,7.5 L169.9,7.5 L175.6,6.2 L185.4,5.4 L193.1,6.4 L203.5,7.1 L213.5,7.5 L220.9,5.5 L230.9,7.2 L239.2,7.5 L244.7,7.3 L253.1,6.7 L258.1,5.2 L268.3,4.8 L276.0,5.7 L283.9,4.7 L292.0,6.6 L302.3,7.1 L311.3,6.1 L318.4,5.7 L325.8,4.4 L334.1,3.2 L340.4,3.0 L346.0,4.9 L353.7,7.4 L358.8,22.8 L366.0,7.8 L366.0,5.2 L376.0,4.2 L385.1,2.4 L394.0,0.8 L400.1,0.8 L409.5,2.5 L419.1,0.8 L426.1,0.8 L432.3,2.2 L441.0,5.2 L448.6,10.1 L458.1,22.7 L439.1,0.0 L445.9,7.3 L451.0,12.5 L456.7,22.1 L456.9,29.5 L458.8,37.1 L459.1,44.6 L456.7,53.6 L456.1,62.0 L456.5,69.6 L457.1,78.6 L445.0,86.5 L455.0,95.9 L458.3,95.9 L457.8,104.9 L459.2,110.3 L459.2,116.0 L459.0,124.9 L459.2,133.5 L457.7,144.4 L456.2,152.7 L455.2,157.8 L453.0,163.7 L455.2,169.4 L452.8,179.4 L452.6,188.7 L448.0,196.7 L441.1,207.7 L440.7,213.9 L460.0,200.0 L454.6,200.9 L443.8,208.3 L434.2,211.9 L424.4,213.9 L414.7,211.8 L406.6,212.7 L401.1,214.2 L391.1,214.2 L385.2,214.2 L376.6,214.0 L368.4,212.2 L358.6,211.1 L348.7,211.1 L342.9,208.6 L334.9,209.2 L328.4,209.0 L320.5,195.2 L310.8,206.8 L310.8,208.6 L304.9,211.0 L297.2,211.2 L287.8,211.5 L282.2,210.7 L274.8,208.7 L267.7,192.8 L258.5,208.4 L258.5,207.5 L249.1,207.5 L238.5,207.5 L231.7,207.5 L222.8,207.5 L215.4,209.3 L208.4,211.5 L201.6,210.0 L191.1,212.0 L184.4,212.4 L173.5,211.7 L167.9,209.3 L157.4,211.1 L146.5,211.9 L137.1,214.2 L127.0,214.2 L117.2,214.2 L111.5,213.3 L105.9,213.5 L96.4,212.2 L86.3,212.2 L79.6,210.4 L70.3,212.7 L61.4,210.9 L50.9,210.1 L44.6,194.1 L39.0,207.1 L39.0,208.8 L30.4,208.3 L23.9,206.5 L15.2,205.1 L9.5,200.0 L4.5,198.6 L16.1,215.0 L9.7,208.6 L8.3,202.4 L6.1,196.2 L2.1,188.0 L0.9,182.9 L1.5,177.8 L0.8,169.9 L0.8,159.7 L0.8,154.1 L0.8,148.3 L10.2,141.6 L2.4,136.6 L2.7,136.6 L3.1,127.8 L3.3,121.0 L5.0,110.2 L6.8,100.1 L7.4,90.4 L6.1,79.5 L22.0,73.9 L8.1,65.5 L4.6,65.5 L4.2,55.1 L1.9,48.8 L3.5,40.3 L18.9,35.6 L3.7,26.3 L6.9,26.3 L10.9,16.8 L13.0,10.8 L23.3,1.1Z' fill='black'/%3E%3C/svg%3E");
  --fm3:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 460 215' preserveAspectRatio='none'%3E%3Cpath d='M0.0,21.6 L5.5,16.0 L15.6,8.5 L22.8,6.8 L31.9,6.0 L39.1,7.5 L49.9,5.3 L55.4,7.0 L64.7,4.6 L73.1,2.0 L80.6,2.4 L86.0,4.3 L92.0,5.4 L98.3,6.1 L108.8,4.6 L115.0,17.2 L120.0,6.5 L120.0,5.4 L124.3,22.4 L130.2,6.9 L130.2,5.5 L136.7,4.5 L145.0,4.6 L151.2,15.8 L156.5,6.8 L156.5,3.6 L163.9,5.3 L169.2,4.5 L178.4,6.3 L183.7,5.3 L194.5,2.8 L202.6,4.1 L209.6,6.0 L219.8,3.8 L227.7,4.6 L238.5,2.2 L246.3,17.0 L254.8,2.4 L254.8,0.8 L264.3,0.8 L275.0,3.1 L280.4,1.0 L288.3,2.3 L293.3,0.8 L303.0,0.8 L310.2,16.4 L320.9,3.3 L320.9,0.8 L329.4,0.8 L340.2,0.8 L346.7,0.8 L355.8,0.8 L361.7,2.3 L370.2,2.4 L376.0,2.6 L386.5,4.2 L393.2,5.0 L401.8,6.5 L407.2,7.5 L415.1,5.3 L423.3,4.5 L432.2,4.1 L442.3,10.7 L449.9,12.0 L455.7,11.6 L438.2,0.0 L445.7,10.3 L449.1,15.6 L452.9,20.8 L456.9,27.3 L459.2,36.3 L459.2,41.8 L457.8,48.0 L456.3,57.9 L457.0,66.8 L454.9,77.2 L452.8,82.6 L454.8,93.3 L441.8,98.0 L452.1,107.2 L454.5,107.2 L456.2,113.5 L456.5,121.4 L458.4,129.5 L459.2,138.1 L456.8,147.9 L439.9,153.2 L454.4,161.6 L457.9,161.6 L459.2,168.0 L459.2,178.8 L456.7,186.6 L453.8,192.1 L448.9,202.0 L443.3,208.7 L460.0,199.8 L450.5,206.9 L443.0,209.4 L433.1,213.2 L425.4,213.7 L420.3,214.2 L411.3,214.2 L400.7,214.2 L392.1,214.2 L381.9,214.2 L374.6,214.2 L367.1,212.8 L360.0,214.2 L351.6,214.2 L346.0,213.5 L335.0,213.3 L327.6,214.1 L320.1,213.8 L313.6,214.2 L303.0,214.2 L296.4,214.2 L289.6,213.6 L281.9,211.7 L275.5,209.3 L269.7,210.2 L261.6,208.3 L251.6,208.3 L243.6,209.2 L235.1,207.5 L225.3,207.5 L218.7,207.5 L208.4,207.5 L203.2,209.4 L194.1,209.3 L183.3,207.8 L176.3,209.9 L166.0,208.3 L157.0,210.3 L151.6,210.6 L144.7,208.0 L138.2,209.8 L130.1,209.0 L123.5,211.1 L112.6,212.6 L106.9,212.5 L96.7,211.8 L89.2,211.4 L81.7,210.1 L76.3,211.7 L71.1,211.8 L62.0,211.9 L51.7,214.0 L42.5,213.2 L34.5,214.2 L25.2,212.4 L20.1,209.7 L11.9,205.3 L1.9,199.1 L22.7,215.0 L21.4,209.3 L12.7,200.1 L10.3,195.0 L5.2,186.5 L4.5,177.2 L3.7,170.5 L6.2,162.9 L5.1,156.6 L2.6,149.2 L1.7,139.5 L0.9,132.0 L0.8,121.5 L0.8,111.1 L1.6,105.8 L3.0,99.0 L3.6,88.7 L2.9,81.3 L2.1,75.7 L2.6,70.3 L2.7,64.1 L3.2,53.6 L2.2,48.2 L1.1,42.2 L2.8,33.1 L1.9,27.5 L5.7,21.8 L9.9,15.2 L16.5,6.8 L21.0,0.1Z' fill='black'/%3E%3C/svg%3E");
  --fm4:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 460 215' preserveAspectRatio='none'%3E%3Cpath d='M0.0,20.0 L5.3,18.6 L16.0,12.4 L21.9,9.5 L28.0,6.5 L33.2,4.1 L38.7,5.6 L45.3,7.5 L55.4,7.5 L63.9,7.5 L69.8,5.9 L75.3,5.5 L81.4,19.7 L89.2,6.0 L89.2,3.8 L94.9,4.1 L101.7,5.6 L111.2,7.2 L121.3,5.9 L131.2,7.5 L140.7,7.5 L146.2,6.8 L150.8,20.0 L160.2,8.7 L160.2,7.5 L168.2,7.5 L173.5,7.5 L182.7,7.5 L189.2,7.5 L195.7,7.5 L201.9,5.8 L208.7,6.8 L215.0,5.6 L225.6,6.4 L233.9,5.2 L243.1,3.2 L253.6,4.3 L259.0,5.8 L264.4,4.8 L274.3,2.7 L281.3,2.9 L286.7,3.0 L293.3,5.2 L304.3,5.6 L309.4,7.1 L316.3,17.1 L323.8,7.6 L323.8,6.2 L334.5,7.0 L342.1,19.8 L350.1,9.7 L350.1,7.5 L360.5,6.5 L371.4,7.5 L379.6,7.5 L389.3,7.5 L397.3,5.8 L406.6,5.0 L414.2,4.8 L424.7,6.8 L430.5,6.0 L435.6,5.4 L445.3,10.3 L455.8,11.1 L439.7,0.0 L445.9,8.2 L451.3,18.9 L454.7,29.1 L452.7,34.7 L452.5,42.2 L454.5,51.3 L454.8,59.4 L444.1,65.9 L453.2,75.6 L457.4,75.6 L457.2,84.4 L455.5,89.8 L453.3,99.6 L452.5,108.4 L440.0,115.2 L451.1,123.4 L454.2,123.4 L453.8,129.3 L454.7,135.9 L452.5,145.5 L437.5,151.6 L452.4,160.4 L455.0,160.4 L453.6,165.5 L455.6,174.8 L454.4,182.4 L449.2,192.8 L443.5,202.6 L441.0,208.6 L460.0,195.5 L450.0,202.2 L443.8,205.5 L434.8,211.8 L425.0,213.4 L419.0,211.6 L408.4,213.5 L401.8,213.5 L393.9,214.2 L383.8,214.2 L375.8,211.7 L367.9,211.3 L361.1,212.7 L353.3,213.1 L343.5,214.2 L335.9,213.4 L327.6,211.2 L318.6,208.8 L312.2,207.5 L306.8,194.7 L300.9,207.4 L300.9,207.5 L293.1,207.5 L286.4,207.5 L280.4,209.6 L272.4,208.9 L265.4,211.0 L256.3,210.2 L249.9,212.0 L242.2,195.5 L234.4,209.2 L234.4,210.8 L225.1,210.0 L219.6,209.3 L213.4,211.7 L208.1,214.0 L202.5,213.4 L192.3,213.8 L185.5,213.5 L179.5,214.2 L171.3,212.3 L161.8,212.2 L157.5,196.7 L148.9,211.3 L148.9,213.1 L140.3,212.1 L134.5,209.7 L128.4,199.5 L119.9,207.0 L119.9,207.9 L111.9,207.5 L101.6,207.5 L95.8,208.8 L87.7,209.4 L76.9,208.2 L70.2,197.8 L61.1,207.1 L61.1,207.5 L53.9,207.5 L47.8,209.9 L36.8,211.3 L29.7,212.9 L24.5,212.1 L13.7,208.6 L7.1,205.0 L16.1,215.0 L11.5,207.2 L7.6,198.8 L3.8,192.2 L0.9,182.6 L1.5,175.9 L0.8,168.6 L2.6,159.7 L1.9,151.8 L16.6,144.0 L4.9,133.8 L1.4,133.8 L3.9,127.9 L4.6,122.3 L4.3,113.4 L1.8,104.6 L2.4,94.1 L2.3,86.1 L3.2,79.7 L3.5,72.3 L4.3,65.2 L2.5,57.1 L0.8,51.2 L2.5,43.8 L4.1,36.3 L4.6,27.7 L9.1,17.3 L12.5,10.1 L23.2,2.8Z' fill='black'/%3E%3C/svg%3E");
}
.tp-card{--f:var(--fm1);--b:var(--fm3);padding:.6rem .6rem 0}
.tp-card:nth-child(4n+2){--f:var(--fm2);--b:var(--fm4)}
.tp-card:nth-child(4n+3){--f:var(--fm3);--b:var(--fm1)}
.tp-card:nth-child(4n+4){--f:var(--fm4);--b:var(--fm2)}
.tp-card-frame{position:relative;display:block;margin:0 0 .5rem;filter:drop-shadow(0 8px 10px rgba(32,22,66,.2)) drop-shadow(0 1px 1px rgba(32,22,66,.12));transition:transform .55s cubic-bezier(.2,.9,.25,1.15),filter .4s}
.tp-card-frame::before{content:"";position:absolute;inset:0;transform:translate(5px,6px) rotate(1.3deg);transform-origin:28% 40%;background:linear-gradient(118deg,#ff9fc8 0%,#c4a8ff 50%,#90d6ff 100%);opacity:.72;-webkit-mask-image:var(--b);mask-image:var(--b);-webkit-mask-size:100% 100%;mask-size:100% 100%;transition:transform .55s cubic-bezier(.2,.9,.25,1.15),opacity .4s}
.tp-card-media{-webkit-mask-image:var(--f);mask-image:var(--f);-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;z-index:1}
.tp-card-media::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(118deg,rgba(255,255,255,.28) 0%,rgba(255,255,255,0) 22%,rgba(255,255,255,0) 78%,rgba(173,224,255,.22) 100%);mix-blend-mode:soft-light}
.tp-card:hover .tp-card-frame,.tp-card:focus-visible .tp-card-frame{transform:translate(-1px,-3px) rotate(-.35deg);filter:drop-shadow(0 14px 16px rgba(32,22,66,.26)) drop-shadow(0 1px 1px rgba(32,22,66,.12))}
.tp-card:hover .tp-card-frame::before,.tp-card:focus-visible .tp-card-frame::before{transform:translate(9px,10px) rotate(2.6deg);opacity:1}
.tp-card-body{padding:.35rem .55rem .95rem}
.tp-card.is-out .tp-card-frame::before{filter:grayscale(1);opacity:.4}
.tp-card.is-skel .tp-card-frame::before{display:none}
.tp-card.is-skel .tp-card-frame{filter:none}
@media (max-width:760px){
  .tp-card{padding:.5rem .5rem 0}
  .tp-card-body{padding:.3rem .4rem .8rem}
  .tp-card-frame::before{transform:translate(4px,5px) rotate(1.1deg)}
}
@media (prefers-reduced-motion:reduce){
  .tp-card-frame,.tp-card-frame::before{transition:none}
  .tp-card:hover .tp-card-frame,.tp-card:hover .tp-card-frame::before{transform:none}
}
/* 26.10: обложки ровные — без рваной маски и повёрнутой подложки */
.tp-card-media{-webkit-mask-image:none;mask-image:none;border-radius:.9rem}
.tp-card-frame::before{display:none}
.tp-card:hover .tp-card-frame,.tp-card:focus-visible .tp-card-frame{transform:translateY(-3px)}
