#shortcutsGrid .shortcut-card{box-sizing:border-box;height:var(--shortcut-card-height);min-height:var(--shortcut-card-height);max-width:100%;border-radius:16px;border:1px solid rgba(255,255,255,.22);box-shadow:0 4px 14px #0002;overflow:hidden;animation:none;transform:none;transition:box-shadow .16s,border-color .16s;isolation:isolate}
#shortcutsGrid .shortcut-card:hover{transform:none;border-color:rgba(255,255,255,.65);box-shadow:0 6px 20px #0004}
#shortcutsGrid .shortcut-top{flex-shrink:0;gap:4px;min-height:0}
#shortcutsGrid .shortcut-bubble{width:clamp(24px,calc(var(--shortcut-card-height)*.30),42px);height:clamp(24px,calc(var(--shortcut-card-height)*.30),42px);font-size:clamp(15px,calc(var(--shortcut-card-height)*.19),26px);border-radius:11px;background:#ffffff21;border:1px solid #ffffff24;box-shadow:none;flex-shrink:0}
#shortcutsGrid .shortcut-link{min-height:0;min-width:0;flex:1;display:flex;flex-direction:column;justify-content:flex-end;text-decoration:none;gap:2px}
#shortcutsGrid .shortcut-link::after{content:"";position:absolute;inset:0;z-index:1}
#shortcutsGrid .shortcut-actions-inline{position:relative;z-index:2;gap:3px}
#shortcutsGrid .shortcut-title{font-size:clamp(11px,var(--shortcut-title-size),16px);line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;color:#fff;text-shadow:0 1px 2px #0006}
#shortcutsGrid .shortcut-caption{font-size:10px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#ffffffc9;max-width:100%}
#shortcutsGrid .shortcut-edit-btn,#shortcutsGrid .shortcut-drag-btn{width:25px;height:25px;min-width:25px;padding:0;display:grid;place-items:center;border-radius:7px;background:#0002;color:#fff;border:1px solid #ffffff25}
#shortcutsGrid:not(.edit-layout) .shortcut-drag-btn{display:none}
#shortcutsGrid .shortcut-card.dragging{z-index:100;opacity:.8;box-shadow:0 14px 30px #0005}
#shortcutsGrid .shortcut-snap-ghost{border:2px dashed var(--accent);border-radius:16px;background:var(--accent-soft)}
@media(max-width:820px){#shortcutsGrid .shortcut-edit-btn{width:36px;height:36px;min-width:36px}#shortcutsGrid .shortcut-card{min-height:100px;height:max(100px,var(--shortcut-card-height));padding:10px}#shortcutsGrid .shortcut-title{font-size:13px}}
@media(prefers-reduced-motion:reduce){#shortcutsGrid .shortcut-card{transition:none}}

#shortcutsGrid .shortcut-card{display:flex;flex-direction:column}#shortcutsGrid .shortcut-link{margin-top:4px}
