.sticker-item{position:absolute;cursor:pointer;-o-object-fit:contain;object-fit:contain;transform-origin:center center;transition:box-shadow .1s ease;pointer-events:all;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sticker-item.is-selected{outline:2px dashed #C9A87C;outline-offset:4px;border-radius:4px}.sticker-item[style*=rotate]{touch-action:none}.sticker-item__toolbar{position:absolute;display:flex;align-items:center;flex-wrap:wrap;gap:2px;background:#fff;border:1px solid #e8e0d5;border-radius:8px;padding:3px 4px;box-shadow:0 2px 8px #0000001f;pointer-events:all;transform:translate(-50%);max-width:min(220px,calc(100vw - 32px))}.sticker-item__action{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:4px;border:none;background:transparent;color:#6b5c4e;cursor:pointer;transition:background .12s ease,color .12s ease}.sticker-item__action:hover{background:#f5f0ea;color:#4a3728}.sticker-item__action--danger:hover{background:#fee2e2;color:#dc2626}.sticker-item__action-flip{transform:scaleX(-1)}@media(max-width:640px){.sticker-item__toolbar{top:calc(100% + 8px)!important;left:50%!important}.sticker-item__action{width:30px;height:30px}}.sticker-canvas{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;overflow:hidden;pointer-events:none;touch-action:none}.sticker-canvas--preview{inset:auto;top:8px;left:50%;width:691px;height:1229px;max-width:calc(100% - 12px);transform:translate(-50%)}.sticker-canvas--preview-print{width:699px;height:992px}@media(max-width:900px){.sticker-canvas--preview{width:605px;height:1075px}.sticker-canvas--preview-print{width:594px;height:843px}}@media(max-width:700px){.sticker-canvas--preview{width:475px;height:845px}.sticker-canvas--preview-print{width:472px;height:670px}}@media(max-width:520px){.sticker-canvas--preview{width:367px;height:653px}.sticker-canvas--preview-print{width:350px;height:496px}}@media(max-width:380px){.sticker-canvas--preview{width:313px;height:557px}.sticker-canvas--preview-print{width:297px;height:422px}}.sticker-canvas.is-drag-active{pointer-events:all;outline:2px dashed rgba(201,168,124,.6);outline-offset:-4px;border-radius:4px}.sticker-canvas>*{pointer-events:all}.sticker-canvas__history-bar{position:absolute;top:12px;left:12px;z-index:25;display:inline-flex;align-items:center;flex-wrap:wrap;gap:.45rem;max-width:min(100%,calc(100% - 24px));padding:.4rem;border-radius:18px;background:#ffffffe6;border:1px solid rgba(232,224,213,.95);box-shadow:0 8px 24px #1c140c14}.sticker-canvas__toolbar-hint{display:flex;flex-direction:column;gap:.1rem;padding:.15rem .45rem .15rem .2rem;min-width:-moz-max-content;min-width:max-content}.sticker-canvas__toolbar-title{font-size:.73rem;font-weight:700;color:#4a3728;letter-spacing:.02em}.sticker-canvas__toolbar-shortcuts{font-size:.66rem;color:#8a7566;line-height:1.2}.sticker-canvas__tool-group{display:inline-flex;align-items:center;gap:.3rem;padding:.15rem;border-radius:999px;background:#faf7f2f2;border:1px solid rgba(232,224,213,.85)}.sticker-canvas__history-action{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;border-radius:999px;background:transparent;color:#6b5c4e;cursor:pointer;transition:background .15s ease,color .15s ease}.sticker-canvas__history-action:hover:not(:disabled){background:#f5f0ea;color:#4a3728}.sticker-canvas__history-action.is-active{background:#f5f0ea;color:#4a3728}.sticker-canvas__history-action--danger:hover:not(:disabled){background:#fee2e2;color:#b91c1c}.sticker-canvas__history-action:disabled{opacity:.45;cursor:not-allowed}.sticker-canvas__target-dot{width:12px;height:12px;border-radius:999px;border:2px solid currentColor;position:relative}.sticker-canvas__target-dot:after{content:"";position:absolute;top:2px;right:2px;bottom:2px;left:2px;border-radius:999px;background:currentColor}.sticker-canvas__layers-panel{position:absolute;top:56px;left:12px;z-index:24;width:min(280px,calc(100vw - 32px));max-height:min(340px,55vh);overflow:hidden;display:flex;flex-direction:column;border-radius:18px;border:1px solid rgba(232,224,213,.95);background:#fffffff5;box-shadow:0 18px 38px #1c140c1f;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.sticker-canvas__layers-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.8rem .95rem;border-bottom:1px solid rgba(232,224,213,.95);font-size:.78rem;font-weight:700;color:#4a3728}.sticker-canvas__layers-list{overflow:auto;padding:.45rem;display:flex;flex-direction:column;gap:.35rem}.sticker-canvas__layer{display:flex;align-items:center;gap:.65rem;width:100%;padding:.55rem .6rem;border:1px solid transparent;border-radius:14px;background:#fff;cursor:pointer;text-align:left}.sticker-canvas__layer.is-selected{border-color:#c9a87cd9;background:#fcf7f0}.sticker-canvas__layer-thumb{width:34px;height:34px;-o-object-fit:contain;object-fit:contain;flex:0 0 auto}.sticker-canvas__layer-label{flex:1;min-width:0;color:#4a3728;font-size:.78rem;font-weight:600}.sticker-canvas__layer-actions{display:inline-flex;align-items:center;gap:.2rem}.sticker-canvas__layer-action{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:none;border-radius:999px;background:transparent;color:#6b5c4e;cursor:pointer}.sticker-canvas__layer-action:hover{background:#f5f0ea;color:#4a3728}.sticker-canvas__group-box{position:absolute;border:2px dashed rgba(201,168,124,.95);border-radius:14px;box-shadow:inset 0 0 0 1px #fffc;background:#c9a87c0f;pointer-events:none;z-index:18}.sticker-canvas__group-badge{position:absolute;top:-14px;left:50%;transform:translate(-50%);padding:.2rem .55rem;border-radius:999px;background:#4a3728eb;color:#fff;font-size:.68rem;font-weight:700;letter-spacing:.01em;white-space:nowrap}.sticker-canvas__group-move-handle{position:absolute;left:-9px;top:-9px;width:18px;height:18px;border-radius:999px;border:2px solid white;background:#c9a87c;box-shadow:0 6px 16px #0000002e;cursor:move;pointer-events:all}.sticker-canvas__group-resize-handle{position:absolute;right:-9px;bottom:-9px;width:18px;height:18px;border-radius:999px;border:2px solid white;background:#4a3728;box-shadow:0 6px 16px #0000002e;cursor:nwse-resize;pointer-events:all}.sticker-canvas__group-rotate-handle{position:absolute;top:-26px;left:50%;transform:translate(-50%);width:18px;height:18px;border-radius:999px;border:2px solid white;background:#c9a87c;box-shadow:0 6px 16px #0000002e;cursor:grab;pointer-events:all}.sticker-canvas__warning{position:absolute;left:12px;right:12px;bottom:12px;z-index:30;padding:.65rem .8rem;border-radius:.9rem;background:#fffbebf2;border:1px solid rgba(245,158,11,.35);color:#9a6700;font-size:.75rem;line-height:1.35;box-shadow:0 8px 20px #00000014}@media(max-width:640px){.sticker-canvas__history-bar{right:12px;left:12px;width:auto;justify-content:flex-start;gap:.35rem}.sticker-canvas__toolbar-hint{width:100%;padding-right:0}.sticker-canvas__tool-group{flex-wrap:nowrap}.sticker-canvas__history-action{width:30px;height:30px}.sticker-canvas__layers-panel{right:12px;left:12px;width:auto;max-height:min(300px,50vh)}}.sticker-sidebar{display:flex;flex-direction:column;gap:.75rem;width:100%;padding:1rem;background-color:#faf9f7;border:1px solid #e8e0d5;border-radius:1rem;height:-moz-fit-content;height:fit-content}.sticker-sidebar__title{font-size:.875rem;font-weight:600;color:#4a3728;margin:0}.sticker-sidebar__hint{font-size:.75rem;color:#9b8778;margin:0;line-height:1.3}.sticker-sidebar__context{margin:.35rem 0 0;font-size:.72rem;line-height:1.35;color:#8a7566}.sticker-sidebar__search{display:flex;align-items:center;gap:.5rem;padding:.65rem .75rem;border-radius:.85rem;border:1px solid #e8e0d5;background:#fff;color:#9b8778}.sticker-sidebar__search input{border:none;outline:none;width:100%;background:transparent;color:#4a3728;font-size:.85rem}.sticker-sidebar__meta{display:flex;justify-content:space-between;gap:.5rem;font-size:.7rem;color:#9b8778}.sticker-sidebar__section{display:flex;flex-direction:column;gap:.45rem}.sticker-sidebar__section-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.sticker-sidebar__section-header h4{margin:0;font-size:.78rem;font-weight:700;color:#4a3728}.sticker-sidebar__section-header span{font-size:.7rem;color:#9b8778}.sticker-sidebar__tabs{display:flex;gap:.25rem;flex-wrap:wrap;margin-top:.25rem}.sticker-sidebar__tab{font-size:.7rem;padding:.25rem .5rem;border-radius:9999px;border:1px solid #e8e0d5;background:#fff;color:#6b5c4e;cursor:pointer;transition:all .15s ease;white-space:nowrap}.sticker-sidebar__tab:hover{border-color:#c9a87c;color:#4a3728}.sticker-sidebar__tab.is-active{background-color:#c9a87c;border-color:#c9a87c;color:#fff}.sticker-sidebar__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.4rem;margin-top:.25rem}.sticker-sidebar__grid--recommended{grid-template-columns:repeat(2,1fr)}.sticker-sidebar__item{display:flex;flex-direction:column;align-items:center;gap:.2rem;padding:.55rem .4rem;border-radius:.9rem;border:1px solid #efe7dc;background:linear-gradient(180deg,#fffffffa,#faf7f2fa);cursor:grab;transition:all .15s ease;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sticker-sidebar__item:hover{background-color:#fff;border-color:#d8c5ad;box-shadow:0 10px 26px #50381e14;transform:translateY(-1px)}.sticker-sidebar__item.is-dragging{opacity:.4;cursor:grabbing}.sticker-sidebar__item img{width:58px;height:58px;-o-object-fit:contain;object-fit:contain;pointer-events:none}.sticker-sidebar__item-label{font-size:.66rem;color:#7e6b5d;text-align:center;line-height:1.2;min-height:1.6em;width:100%}.sticker-sidebar__empty{margin:0;font-size:.75rem;color:#9b8778;text-align:center;padding:.75rem;border-radius:.85rem;background:#fff;border:1px dashed #e8e0d5}@media(min-width:1024px){.sticker-sidebar{position:sticky;top:1rem}}
