/* 3D Wooden Puzzle Workshop */
.wp-menu { width: 100%; }
.wp-menu h3 { margin: 0 0 8px; font-size: 1.05rem; }
.wp-help { margin-top: 14px; }
.wp-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.wp-item { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 4px; border-radius: 14px; border: 2px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); color: inherit; font: 700 14px system-ui, sans-serif; cursor: pointer; text-align: center; }
.wp-item small { font-size: 11px; font-weight: 600; opacity: .85; }
.wp-item:hover:not(:disabled) { border-color: #67e8f9; }
.wp-item:disabled { opacity: .45; cursor: not-allowed; }
.wp-item.is-done { border-color: rgba(74,222,128,.6); }
.wp-ico { font-size: 30px; }
.wp-wrap { width: 100%; max-width: 680px; margin: 0 auto; align-self: stretch; box-sizing: border-box; }
.wp-hud { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font: 800 15px system-ui, sans-serif; }
.wp-title { flex: 1; min-width: 0; }
.wp-cnt { font-size: 13px; font-weight: 700; opacity: .75; margin-left: 4px; }
.wp-tb { display: flex; gap: 6px; flex-shrink: 0; }
.wp-tb button { background: rgba(15,23,42,.7); color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 6px 10px; font: 700 14px system-ui, sans-serif; cursor: pointer; }
.wp-stage { position: relative; width: 100%; height: min(54vh, 430px); min-height: 280px; border-radius: 16px; background: linear-gradient(#3b2a1a, #1c130b); overflow: hidden; }
.wp-stage canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.wp-note { min-height: 22px; margin: 6px 0; text-align: center; font-weight: 700; color: #fde047; }
.wp-tray { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.wp-p { position: relative; display: flex; flex-direction: column; align-items: center; width: 84px; padding: 4px; border-radius: 12px; border: 2px solid rgba(255,255,255,.2); background: rgba(255,255,255,.07); color: inherit; font: 700 11px system-ui, sans-serif; cursor: pointer; }
.wp-p img { display: block; width: 58px; height: 58px; }
.wp-p b { position: absolute; top: 3px; right: 6px; font-size: 13px; color: #fde047; }
.wp-p:hover { border-color: #67e8f9; }
.wp-p.is-sel { border-color: #67e8f9; background: rgba(103,232,249,.2); }
.wp-res { padding: 10px; border-radius: 14px; background: rgba(15,23,42,.6); border: 1px solid rgba(255,255,255,.14); text-align: center; }
.wp-res h3 { margin: 0 0 2px; font-size: 22px; }
.wp-res p { margin: 4px 0 10px; }
.wp-stars { font-size: 28px; letter-spacing: 3px; }
.wp-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
@media (max-width: 560px) { .wp-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wp-stage { height: 44vh; } .wp-p { width: 72px; } .wp-p img { width: 48px; height: 48px; } }
