body { margin: 0 auto; background-image: url("images/s-brick008.gif"); font-family: sans-serif; user-select: none; } #toolbar { position: relative; background: #000000; color: white; display: flex; gap: 10px; } #container { display: flex; width: 100%; height: calc(100vh - 50px); min-height: 800px; } .panel { width: 120px; overflow-y: scroll; background: #000000; padding: 10px; } .panel img { width: 40px; height: 40px; margin: 5px; cursor: grab; } #canvas-wrapper { flex: 1; display: flex; justify-content: center; align-items: center; } #canvas { width: 600px; height: 794px; border: 2px solid #154d05; box-shadow: 0 8px 20px rgba(0,0,0,0.35); overflow: hidden; position: relative; background: transparent; border: none; } #bg-transparent, #bg-black, #download,#save-json,#load-json-btn,#open-guide{ border: 0; line-height: 2; padding: 0 18px; font-size: 14px; text-align: center; color: #fff; font-weight: bold; text-shadow: 1px 1px 1px #000; border-radius: 10px; background-color: rgba(43, 175, 54, 0.8); background-image: linear-gradient( to top left, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0) ); box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0.6), inset -2px -2px 3px rgba(0, 0, 0, 0.6); z-index : 2; cursor: pointer; } #bg-transparent:hover, #bg-black:hover, #download:hover,#save-json:hover,#load-json-btn:hover,#open-guide:hover { background-color: rgb(68, 68, 68); } #clear-canvas { padding: 0 18px; border: 0; line-height: 2; font-size: 1rem; text-align: center; color: #fff; font-weight: bold; text-shadow: 1px 1px 1px #000; border-radius: 10px; background-color: rgba(43, 175, 54, 0.8); background-image: linear-gradient( to top left, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0) ); box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0.6), inset -2px -2px 3px rgba(0, 0, 0, 0.6); z-index : 2; cursor: pointer; } #clear-canvas:hover { background: #ff19ba; color: #eeeeee; } #vase { position: absolute; width: 400px; bottom: 90px; left: 50%; transform: translateX(-50%); border-radius: 8px; pointer-events: none; filter: drop-shadow(0 0 4px rgba(255,255,255,0.4)); z-index: 0; } #vase.vase { width: 400px; height: 134x; left: 300px; top: 570px; filter: drop-shadow(0 0 4px rgba(255,255,255,0.4)); z-index: 0; } #vase.vase2 { width: 240px; height: 318px; left: 300px; top: 460px; filter: drop-shadow(0 0 4px rgba(255,255,255,0.4)); z-index: 0; } #vase.vase3 { width: 400px; height: 182px; left: 280px; top: 560px; filter: drop-shadow(0 0 4px rgba(255,255,255,0.4)); z-index: 0; } #vase.vase4 { width: 420px; height: 262px; left: 300px; top: 520px; filter: drop-shadow(0 0 4px rgba(255,255,255,0.4)); z-index: 0; } #vase.vase5 { width: 420px; height: 210px; left: 300px; top: 560px; filter: drop-shadow(0 0 4px rgba(255,255,255,0.4)); z-index: 0; } #vase.vase6 { width: 420px; height: 210px; left: 300px; top: 560px; filter: drop-shadow(0 0 4px rgba(255,255,255,0.4)); z-index: 0; } #vase-toggle { border: 0; line-height: 2; padding: 0 18px; font-size: 14px; text-align: center; color: #fff; font-weight: bold; text-shadow: 1px 1px 1px #000; border-radius: 10px; background-color: rgba(72, 43, 175, 0.8); background-image: linear-gradient( to top left, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0) ); box-shadow: inset 2px 2px 3px rgba(255, 255, 255, 0.6), inset -2px -2px 3px rgba(0, 0, 0, 0.6); z-index : 2; cursor: pointer; } #vase-wrapper { position: relative; } #vase-list { position: absolute; top: 100%; left: 0; background-image: url("images/s-brick008.gif"); padding: 2px; border-radius: 6px; max-height: 0; overflow: hidden; transition: max-height 0.35s ease; display: flex; flex-direction: column; gap: 4px; } .vase-thumb { width: 100px; height: 100px; object-fit: contain; cursor: pointer; border: 1px solid #ccc; background: white; padding: 4px; border-radius: 4px; z-index: 99; } .canvas-item { position: absolute; cursor: grab; transform-origin: center; } .canvas-item-wrapper { position: absolute; } .rotate-handle { width: 26px; height: 26px; background: white; border: 2px solid #333; border-radius: 50%; position: absolute; top: -20px; left: 50%; transform: translateX(-50%); cursor: grab; display: none; font-size: 18px; line-height: 22px; text-align: center; user-select: none; } .rotate-handle::before { content: ""; position: absolute; top: 4px; left: 4px; width: 12px; height: 12px; border: 2px solid #333; border-radius: 50%; border-right-color: transparent; border-bottom-color: transparent; transform: rotate(45deg); } #left-panel::-webkit-scrollbar, #right-panel::-webkit-scrollbar { width: 8px; } #left-panel::-webkit-scrollbar-track, #right-panel::-webkit-scrollbar-track { background: rgba(0,0,0,0.05); border-radius: 4px; } #left-panel::-webkit-scrollbar-thumb, #right-panel::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.25); border-radius: 4px; } #left-panel::-webkit-scrollbar-thumb:hover, #right-panel::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.4); } #left-panel, #right-panel { scrollbar-width: thin; scrollbar-color: rgba(0,0,0,0.25) rgba(0,0,0,0.05); } .canvas-item, .canvas-item-wrapper, #canvas { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; touch-action: none; overflow: visible; } #left-panel { direction: ltr; width: 110px; } #right-panel { direction: rtl; width: 110px; } #right-panel .panel-thumb { direction: ltr; } .toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); background: rgba(21, 138, 248, 0.75); color: rgb(243, 243, 243); padding: 12px 20px; border-radius: 6px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; z-index: 9999; } .toast.show { opacity: 1; } .toast-error { background: rgba(220, 53, 69, 0.85); color: #fff; } .toast-e { background: rgba(255, 198, 12, 0.85); color: #fff; } .toast-delete { background: rgba(108, 117, 125, 0.85); color: #fff; } .guide-button { padding: 6px 12px; background: #444; color: white; border: none; border-radius: 4px; cursor: pointer; } .guide-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); display: none; justify-content: center; align-items: center; z-index: 9998; } .guide-box { width: 460px; max-width: 90%; background: #fff; border-radius: 10px; padding: 10px; box-shadow: 0 8px 20px rgba(0,0,0,0.35); animation: fadeIn 0.3s ease; } .guide-header { display: flex; justify-content: space-between; align-items: center; font-size: 18px; margin-bottom: 10px; } .close-btn { background: #ff1818; color: white; border-radius: 6px; border: none; font-size: 24px; cursor: pointer; line-height: 1; } .guide-content ul { margin: 0 0 15px 0; padding-left: 20px; } @keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to   { opacity: 1; transform: translateY(0); } } .guide-table { width: 100%; border-collapse: collapse; border: 2px solid #0a7706; border-collapse: collapse; margin-top: 10px; font-size: 14px; } .guide-table th { background: #f0f0f0; padding: 8px; text-align: left; border-bottom: 1px solid #ccc; } .guide-table td { padding: 6px 8px; border-bottom: 1px solid #ddd; } .guide-table tr:last-child td { border-bottom: none; } .confirm-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.45); display: none; justify-content: center; align-items: center; z-index: 9999; } .confirm-box { background: white; border: 2px solid #fc00e7; padding: 24px 32px; border-radius: 10px; text-align: center; width: 360px; box-shadow: 0 4px 14px rgba(255, 11, 11, 0.445); } .confirm-buttons { margin-top: 20px; display: flex; justify-content: space-around; } .confirm-buttons button { padding: 8px 20px; font-size: 16px; border-radius: 6px; border: none; cursor: pointer; } #confirm-yes { background: #d9534f; color: white; } #confirm-no { background: #ccc; } h5 { color: #e61ddb; } 