/* Wool, tucked paper and the existing cut-paper mantel share one scene.
   Two views of the same transparent artwork put the slip inside the opening. */
.stocking.knit-stocking{
  aspect-ratio:2/3;
  --art-top:-44px;
  --yarn:#a9384d;
  filter:drop-shadow(2px 6px 3px #0004);
}
.knit-stocking.main{--yarn:#3c6688;top:3px}
.knit-stocking.family{--yarn:#617239}
.knit-stocking.own{--yarn:#a06a23;top:6px}
.knit-art-layer{position:absolute;left:0;right:0;top:var(--art-top);aspect-ratio:2/3;pointer-events:none}
.knit-art-layer img{display:block;width:100%;height:100%;max-width:none;user-select:none}
.knit-back{z-index:1}
.knit-front{z-index:3;clip-path:polygon(0 18.2%,25% 17.3%,36% 17.7%,50% 18.3%,65% 17.9%,78% 16.8%,100% 17%,100% 100%,0 100%)}
.knit-stocking .stocking-paper-stack{z-index:2;left:34%;right:32%;top:calc(var(--art-top) + 9%);height:20%}
.knit-stocking.family .stocking-paper-stack{top:calc(var(--art-top) + 8.6%)}
.knit-stocking.own .stocking-paper-stack{top:calc(var(--art-top) + 9.4%)}
.knit-stocking .stocking-sheet.stocking-sheet-front{
  box-shadow:1px 2px 3px #0004;
  clip-path:polygon(1% 2%,19% 1%,42% 2%,67% 0,89% 1%,100% 9%,99% 100%,72% 99%,50% 100%,1% 98%);
}
/* Geometry hook for the existing lift/unfold motion, with no duplicate cuff. */
.knit-stocking .stocking-cuff{left:25%;right:23%;top:calc(var(--art-top) + 18%);height:10%;padding:0;background:none;border:0;box-shadow:none;transform:none;clip-path:none;pointer-events:none}
.knit-stocking .stocking-cuff:before,.knit-stocking .stocking-cuff:after{display:none}
.knit-label{position:absolute;left:29%;right:28%;top:calc(var(--art-top) + 28.4%);height:9.2%;z-index:4;display:flex;align-items:center;justify-content:center;pointer-events:none;color:var(--yarn);transform:rotate(-.6deg);mix-blend-mode:normal}
.knit-name{display:block;max-width:100%;height:90%;width:auto;overflow:visible;filter:drop-shadow(.15px .3px .1px #17212b33)}
.knit-stocking.main .knit-label{transform:rotate(.3deg)}
.knit-stocking.own .knit-label{transform:rotate(-.2deg)}
@media(max-width:650px){
  .stocking.knit-stocking{aspect-ratio:2/3;--art-top:-27px}
  .knit-stocking.main,.knit-stocking.own{top:3px}
  .dashboard-grid.stocking-row{row-gap:10px}
  .knit-stocking .stocking-paper-stack{height:20%}
  .knit-stocking .stocking-cuff{height:10%}
}
