/* Kachel-Anordnung (assets/tiles.js): Ziehen, Hineinlegen in blaue Kacheln, Ablageflächen */
.tile-item { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.tile-item.dragging { position: relative; z-index: 10; pointer-events: none; }
.tile-item.dragging .ico { transform: scale(1.08); box-shadow: 0 6px 12px rgba(0,0,0,.14), 0 18px 36px rgba(0,0,0,.18); }
.tiles-dragging, .tiles-dragging * { cursor: grabbing !important; }
.tile-item.drop-into .ico { transform: scale(1.14); box-shadow: 0 0 0 4px var(--card), 0 0 0 7px var(--blue); }
.tile-sub { display: block; margin-top: -6px; font-size: 11px; font-weight: 500; color: var(--muted); }
.app-grid.tile-empty { display: block; border: 1px dashed var(--line); border-radius: var(--r-lg); background: var(--card); padding: 32px 20px; text-align: center; color: var(--muted); min-height: 120px; }
.app-grid.tile-empty::before { content: 'Leer – Kacheln von der Startseite auf diese blaue Kachel ziehen.'; }
.tile-zones { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
[data-tile-drop] { transition: box-shadow .12s, background .12s; }
.tile-zone { display: inline-flex; align-items: center; gap: 6px; border: 1px dashed var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; color: var(--muted); }
.tiles-dragging .tile-zone { border-color: var(--blue); color: var(--blue); }
[data-tile-drop].drop-into { box-shadow: 0 0 0 3px var(--blue); background: var(--blue-soft); color: var(--blue); }
.tile-order { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; align-items: center; margin: 12px 0; }
.tile-menu { position: fixed; z-index: 1000; min-width: 220px; max-height: 70vh; overflow: auto; background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.18); padding: 6px; display: grid; gap: 2px; }
.tile-menu b { font-size: 12px; color: var(--muted); padding: 4px 8px 6px; }
.tile-menu button { display: flex; align-items: center; gap: 8px; border: 0; background: none; text-align: left; padding: 7px 8px; border-radius: 6px; font: 13px Inter, sans-serif; color: var(--text); cursor: pointer; }
.tile-menu button:hover, .tile-menu button:focus-visible { background: var(--blue-soft); color: var(--blue); outline: none; }
