/* Kalima Montaj: sticker panel. Prefix .st- (shell reuses .ce-panel / .co-chip / .co-grid) */
.st-btn { width: 100%; }
.st-layer { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.st-it { position: absolute; transform: translate(-50%, -50%); line-height: 0; touch-action: none; }
.st-layer.open .st-it { pointer-events: auto; cursor: grab; }
.st-it .st-img { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.st-it.off { opacity: .45; }
.st-it.sel { outline: 2px solid var(--amber); outline-offset: 2px; }
.st-hnd { display: none; position: absolute; right: -9px; bottom: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--amber); border: 2px solid #fff; cursor: nwse-resize; box-shadow: 0 1px 4px rgba(0,0,0,.4); }
.st-it.sel .st-hnd { display: block; }
.st-guide { position: absolute; pointer-events: none; opacity: 0; transition: opacity .1s; }
.st-gv { top: 0; bottom: 0; left: 50%; border-left: 1px dashed rgba(255,255,255,.5); }
.st-gh { left: 0; right: 0; top: 50%; border-top: 1px dashed rgba(255,255,255,.5); }
.st-guide.show { opacity: 1; }
.st-gv.on { border-left: 2px solid #FF3B6B; }
.st-gh.on { border-top: 2px solid #FF3B6B; }
@keyframes st-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes st-pop { 0% { transform: translate(-50%, -50%) scale(.2); } 60% { transform: translate(-50%, -50%) scale(1.15); } 100% { transform: translate(-50%, -50%) scale(1); } }
@keyframes st-slide { from { transform: translate(-50%, 20%); opacity: 0; } to { transform: translate(-50%, -50%); opacity: 1; } }
.st-it.a-fade { animation: st-fade .4s ease-out; }
.st-it.a-pop { animation: st-pop .45s ease-out; }
.st-it.a-slide_up { animation: st-slide .45s ease-out; }
.st-hist { display: inline-flex; gap: 4px; }
.st-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.st-tab { border: 0; background: none; padding: 7px 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; }
.st-tab.on { color: var(--gold-ink); border-bottom-color: var(--amber); }
.st-pg { display: flex; flex-direction: column; gap: 10px; }
.st-pg[hidden], .st-fields[hidden] { display: none; }
.st-grid { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
.st-tile { position: relative; border: 1px solid var(--line); border-radius: 12px; background: var(--field); padding: 4px 4px 5px; cursor: pointer; display: flex; flex-direction: column; gap: 3px; }
.st-tile:hover { background: var(--raise); }
.st-tile:focus-visible { outline: 2px solid var(--amber); outline-offset: 1px; }
.st-timg { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 9px; background: var(--raise); }
.st-none { display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--muted); }
.st-name { font-size: 11.5px; font-weight: 600; text-align: center; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-star { position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(255,255,255,.85); color: var(--muted); font-size: 14px; line-height: 1; cursor: pointer; padding: 0; }
.st-star.on { color: var(--amber); }
.st-sec { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); padding-top: 10px; }
.st-list { display: flex; flex-direction: column; gap: 4px; }
.st-row { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 4px 6px; background: var(--field); cursor: pointer; }
.st-row.on { border-color: var(--amber); background: var(--pale); }
.st-rthumb { width: 32px; height: 32px; object-fit: contain; border-radius: 6px; flex: 0 0 32px; background: var(--raise); }
.st-rname { flex: 1; min-width: 0; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-rtime { font-size: 12px; white-space: nowrap; }
.st-del { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 14px; padding: 4px 6px; }
.st-del:hover { color: #C0392B; }
.st-fields { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; }
.st-ctl { flex-wrap: wrap; gap: 6px; }
.st-num { width: 70px; }
.st-sel { width: 100%; }
.st-wval { width: 58px; }
.st-prompt { width: 100%; resize: vertical; min-height: 84px; font: inherit; }
.st-ai { display: flex; flex-direction: column; gap: 10px; }
.st-aitime { font-size: 13px; font-weight: 600; }
.st-sizes { display: flex; gap: 6px; flex-wrap: wrap; }
.st-wait { background: var(--pale); border: 1px solid var(--amber); border-radius: 10px; padding: 8px 10px; font-size: 13px; }
.st-empty { font-size: 13px; }
@media (max-width: 999px) { .st-panel.phone .ce-body { padding: 10px; } }
.st-hist .btn { font-size: 17px; line-height: 1; min-width: 34px; font-family: "Segoe UI Symbol", "Apple Symbols", system-ui, sans-serif; }
