.atm-maker{margin:1.5em 0;font-size:15px}
.atm-help{font-size:13px;color:#555;margin:0 0 .8em}
.atm-board{border-radius:8px;overflow:hidden;background:#1b1f2a;padding:4px}
.atm-row{display:flex;min-height:76px;margin-bottom:4px}
.atm-row:last-child{margin-bottom:0}
.atm-label{flex:0 0 72px;display:flex;align-items:center;justify-content:center;font-weight:bold;font-size:22px;color:#1b1f2a;text-align:center;word-break:break-all;padding:4px;outline:none;cursor:text;border-radius:4px 0 0 4px}
.atm-label:focus{box-shadow:inset 0 0 0 3px #fff}
.atm-zone{flex:1;display:flex;flex-wrap:wrap;align-content:flex-start;gap:4px;padding:4px;background:#2b3040;min-height:76px;transition:background .15s}
.atm-zone.is-over,.has-selection .atm-board .atm-zone:hover{background:#3d4560}
.has-selection .atm-board .atm-zone{box-shadow:inset 0 0 0 2px #7fd0ff55}
.atm-pool-wrap{margin-top:12px}
.atm-pool-title{font-weight:bold;font-size:14px;margin-bottom:4px}
.atm-pool{background:#f1f3f7;border-radius:8px;min-height:84px}
.atm-item{position:relative;width:68px;height:68px;border-radius:6px;overflow:hidden;background:#444a5c;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.atm-item img{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}
.atm-name{position:absolute;left:0;right:0;bottom:0;background:rgba(0,0,0,.6);color:#fff;font-size:10px;line-height:1.3;padding:1px 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
.atm-item.is-selected{outline:3px solid #ff5770;outline-offset:-3px}
.atm-item.is-dragging{opacity:.3}
.atm-ghost{position:fixed;z-index:99999;pointer-events:none;opacity:.9;box-shadow:0 6px 16px rgba(0,0,0,.35);transform:scale(1.05)}
.atm-actions,.atm-share{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.atm-btn{display:inline-flex;align-items:center;justify-content:center;padding:.7em 1.2em;border-radius:999px;border:0;background:#e9ecf2;color:#222;font-weight:bold;font-size:14px;cursor:pointer;text-decoration:none!important;line-height:1.2}
.atm-btn:disabled{opacity:.6;cursor:default}
.atm-btn-primary{background:#ff5770;color:#fff!important}
.atm-save{background:#2b3040;color:#fff!important}
.atm-share-native{background:#0a84ff;color:#fff!important}
.atm-x{background:#000;color:#fff!important}
.atm-line{background:#06c755;color:#fff!important}
.atm-insta{background:linear-gradient(45deg,#f58529,#dd2a7b,#8134af);color:#fff!important}
.atm-output{margin-top:16px}
.atm-preview{width:100%;height:auto;border-radius:8px;display:block}
.atm-note{font-size:12px;color:#666;margin-top:8px}
@media (min-width:600px){.atm-label{flex-basis:96px;font-size:26px}.atm-item{width:80px;height:80px}.atm-row,.atm-zone{min-height:88px}}
