/* Shape Fence */
.sf-hero { display: flex; justify-content: center; gap: 10px; font-size: clamp(56px, 16vw, 90px); }
.sf-stage { display: flex; justify-content: center; }
.sf-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 18px; border-radius: 28px; background: #fff; border: 5px solid var(--straw);
  box-shadow: var(--shadow); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; font-size: clamp(84px, 24vw, 140px); line-height: 1; min-width: 160px;
}
.sf-item.is-dragging { cursor: grabbing; z-index: 30; position: relative; box-shadow: 0 16px 30px rgba(0, 0, 0, .25); }
.sf-item.is-sorted { opacity: .35; }
.sf-item__name { font-size: 19px; font-weight: 900; color: var(--ink-2); }
.sf-bins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .sf-bins { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sf-bin {
  display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 116px; padding: 6px; cursor: pointer; border-radius: 22px;
  background: repeating-linear-gradient(90deg, #c89a5c 0 10px, #e8d3a0 10px 40px); border: 5px solid #9c6b3a; box-shadow: var(--shadow); touch-action: manipulation;
}
.sf-bin__icon { font-size: 50px; line-height: 1; background: rgba(255, 253, 247, .85); border-radius: 18px; padding: 4px; }
.sf-bin__name { font-size: 20px; font-weight: 900; background: #fffdf7; border-radius: 999px; padding: 2px 12px; }
.sf-bin__got { display: flex; font-size: 26px; min-height: 0; }
.sf-bin.is-over { box-shadow: 0 0 0 6px var(--straw), var(--shadow); }
.sf-bin.is-right { border-color: var(--green); box-shadow: 0 0 0 5px rgba(46, 139, 62, .35), var(--shadow); }
.sf-bin.is-tried { animation: sf-shake .4s ease; }
@keyframes sf-shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.sf-pattern { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; background: #fff; border-radius: 22px; padding: 12px 8px; box-shadow: var(--shadow); }
.sf-slot { font-size: clamp(32px, 9.4vw, 72px); line-height: 1; width: 1.2em; height: 1.2em; display: flex; align-items: center; justify-content: center; flex: none; }
.sf-slot.is-blank { border: 4px dashed var(--barn); border-radius: 14px; font-weight: 900; color: var(--barn); }
.sf-opt { font-size: clamp(60px, 18vw, 90px); }
